Minor, remove obsolete jdkPath

This commit is contained in:
Alexander Udalov
2017-11-07 18:29:20 +01:00
parent 208e68a968
commit 36026d3f16
-16
View File
@@ -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) {