Update gradle & dependencies
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
357c2cc149
commit
027561fc3d
|
@ -6,26 +6,22 @@ import net.fabricmc.loom.LoomGradleExtension
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.guardsquare:proguard-gradle:[7.3.1, 7.4[") {
|
classpath("com.guardsquare:proguard-gradle:[7.4, 7.5[") {
|
||||||
exclude("com.android.tools.build")
|
exclude("com.android.tools.build")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.8.21"
|
kotlin("jvm") version "1.9.22"
|
||||||
kotlin("plugin.serialization") version "1.8.21"
|
kotlin("plugin.serialization") version "1.9.22"
|
||||||
id("com.github.johnrengelman.shadow") version "7.1.2" apply false
|
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
|
||||||
id("architectury-plugin") version "[3.4.124, 3.5["
|
id("architectury-plugin") version "[3.4.124, 3.5["
|
||||||
id("dev.architectury.loom") version (
|
id("dev.architectury.loom") version "1.4-SNAPSHOT" apply false
|
||||||
JavaVersion.current().let { version ->
|
id("com.github.ben-manes.versions") version "0.51.0"
|
||||||
"[0.10.0, ${if (version.isCompatibleWith(JavaVersion.VERSION_17)) "0.12.1" else "0.10.1"}["
|
id("net.kyori.indra.git") version "3.1.3"
|
||||||
}
|
|
||||||
) apply false
|
|
||||||
id("com.github.ben-manes.versions") version "0.42.0"
|
|
||||||
id("net.kyori.indra.git") version "3.0.1"
|
|
||||||
id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.5"
|
id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.5"
|
||||||
id("com.modrinth.minotaur") version "2.7.5" apply false
|
id("com.modrinth.minotaur") version "2.8.7" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "fr.username404"
|
group = "fr.username404"
|
||||||
|
@ -169,10 +165,8 @@ subprojects {
|
||||||
overloadaggressively()
|
overloadaggressively()
|
||||||
mergeinterfacesaggressively()
|
mergeinterfacesaggressively()
|
||||||
}
|
}
|
||||||
withType(net.fabricmc.loom.task.PrepareJarRemapTask::class) {
|
|
||||||
dependsOn(shrinkJar)
|
|
||||||
}
|
|
||||||
withType(net.fabricmc.loom.task.RemapJarTask::class) {
|
withType(net.fabricmc.loom.task.RemapJarTask::class) {
|
||||||
|
dependsOn(shrinkJar)
|
||||||
val shrinkedJar = shrinkJar.get().outJarFileCollection.singleFile
|
val shrinkedJar = shrinkJar.get().outJarFileCollection.singleFile
|
||||||
archiveBaseName.set(shadowJar.archiveBaseName)
|
archiveBaseName.set(shadowJar.archiveBaseName)
|
||||||
archiveVersion.set("[${rootProject.version}+$mcBase]")
|
archiveVersion.set("[${rootProject.version}+$mcBase]")
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in New Issue