From 36026d3f16836156f20f0fc95f17c3ce51540ab4 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Tue, 7 Nov 2017 18:29:20 +0100 Subject: [PATCH] Minor, remove obsolete jdkPath --- libraries/commonConfiguration.gradle | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/libraries/commonConfiguration.gradle b/libraries/commonConfiguration.gradle index 77540a12a82..331beaa1114 100644 --- a/libraries/commonConfiguration.gradle +++ b/libraries/commonConfiguration.gradle @@ -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) {