gradle: Small changes
This commit is contained in:
@@ -42,7 +42,7 @@ plugins {
|
|||||||
application
|
application
|
||||||
}
|
}
|
||||||
|
|
||||||
val localGitCommit = try {
|
val localGitCommit: String = try {
|
||||||
val projectPath = rootProject.projectDir.absolutePath
|
val projectPath = rootProject.projectDir.absolutePath
|
||||||
Grgit.open(mapOf("dir" to projectPath)).head().id
|
Grgit.open(mapOf("dir" to projectPath)).head().id
|
||||||
} catch (_: Exception) {
|
} catch (_: Exception) {
|
||||||
@@ -96,7 +96,7 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mavenCentral();
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
apply<JavaLibraryPlugin>()
|
apply<JavaLibraryPlugin>()
|
||||||
|
|||||||
@@ -36,8 +36,4 @@ dependencies {
|
|||||||
implementation(gradleApi())
|
implementation(gradleApi())
|
||||||
implementation(group = "net.runelite", name = "fernflower", version = "07082019")
|
implementation(group = "net.runelite", name = "fernflower", version = "07082019")
|
||||||
implementation(group = "org.json", name = "json", version = "20190722")
|
implementation(group = "org.json", name = "json", version = "20190722")
|
||||||
}
|
|
||||||
|
|
||||||
kotlinDslPluginOptions {
|
|
||||||
experimentalWarning.set(false)
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user