Minor, remove obsolete jdkPath
This commit is contained in:
@@ -1,19 +1,3 @@
|
||||
String jdkPath(String version) {
|
||||
String varName = "JDK_${version.replace('.', '')}"
|
||||
String path = System.getenv(varName)
|
||||
if (path == null) throw new GradleException("Please set environment variable $varName to point to JDK $version installation")
|
||||
return path
|
||||
}
|
||||
|
||||
//ext {
|
||||
// JDK_16 = jdkPath("1.6")
|
||||
// JDK_17 = jdkPath("1.7")
|
||||
// JDK_18 = jdkPath("1.8")
|
||||
// distDir = file("$kotlin_root/dist")
|
||||
// distLibDir = file("$kotlin_root/dist/kotlinc/lib")
|
||||
// bootstrapCompilerFile = file("$distDir/kotlin-compiler-for-maven.jar")
|
||||
//}
|
||||
|
||||
ext.configureJvmProject = { Project project ->
|
||||
project.configure(project) {
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
|
||||
Reference in New Issue
Block a user