Do not read manifest properties into build script, remove allProjectsRecursive
Neither this helper, nor manifest properties are used in the build.
This commit is contained in:
@@ -111,15 +111,6 @@ extra["ideaUltimatePluginDir"] = project.file(ideaUltimatePluginDir)
|
||||
extra["cidrPluginDir"] = project.file(cidrPluginDir)
|
||||
extra["isSonatypeRelease"] = false
|
||||
|
||||
Properties().apply {
|
||||
load(File(rootDir, "resources", "kotlinManifest.properties").reader())
|
||||
forEach {
|
||||
val key = it.key
|
||||
if (key != null && key is String)
|
||||
extra[key] = it.value
|
||||
}
|
||||
}
|
||||
|
||||
extra["JDK_16"] = jdkPath("1.6")
|
||||
extra["JDK_17"] = jdkPath("1.7")
|
||||
extra["JDK_18"] = jdkPath("1.8")
|
||||
@@ -262,11 +253,6 @@ apply {
|
||||
}
|
||||
}
|
||||
|
||||
fun Project.allprojectsRecursive(body: Project.() -> Unit) {
|
||||
this.body()
|
||||
this.subprojects { allprojectsRecursive(body) }
|
||||
}
|
||||
|
||||
fun Task.listConfigurationContents(configName: String) {
|
||||
doFirst {
|
||||
project.configurations.findByName(configName)?.let {
|
||||
|
||||
@@ -111,15 +111,6 @@ extra["ideaUltimatePluginDir"] = project.file(ideaUltimatePluginDir)
|
||||
extra["cidrPluginDir"] = project.file(cidrPluginDir)
|
||||
extra["isSonatypeRelease"] = false
|
||||
|
||||
Properties().apply {
|
||||
load(File(rootDir, "resources", "kotlinManifest.properties").reader())
|
||||
forEach {
|
||||
val key = it.key
|
||||
if (key != null && key is String)
|
||||
extra[key] = it.value
|
||||
}
|
||||
}
|
||||
|
||||
extra["JDK_16"] = jdkPath("1.6")
|
||||
extra["JDK_17"] = jdkPath("1.7")
|
||||
extra["JDK_18"] = jdkPath("1.8")
|
||||
@@ -261,11 +252,6 @@ apply {
|
||||
}
|
||||
}
|
||||
|
||||
fun Project.allprojectsRecursive(body: Project.() -> Unit) {
|
||||
this.body()
|
||||
this.subprojects { allprojectsRecursive(body) }
|
||||
}
|
||||
|
||||
fun Task.listConfigurationContents(configName: String) {
|
||||
doFirst {
|
||||
project.configurations.findByName(configName)?.let {
|
||||
|
||||
Reference in New Issue
Block a user