mirror of
https://github.com/TeamMidnightDust/TimeChanger.git
synced 2025-12-16 10:05:09 +01:00
Update to 1.20.4
This commit is contained in:
15
build.gradle
15
build.gradle
@@ -1,12 +1,8 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '0.12.+'
|
||||
id 'fabric-loom' version '1.6-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version
|
||||
group = project.maven_group
|
||||
|
||||
@@ -14,6 +10,10 @@ repositories {
|
||||
maven { url "https://api.modrinth.com/maven" }
|
||||
}
|
||||
|
||||
base {
|
||||
archivesName = project.archives_base_name
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//to change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
@@ -46,6 +46,9 @@ tasks.withType(JavaCompile).configureEach {
|
||||
// if it is present.
|
||||
// If you remove this task, sources will not be generated.
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
@@ -56,7 +59,7 @@ jar {
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
create("mavenJava", MavenPublication) {
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user