convert BuildscriptKotlinDefaults to no actually use any buildscript features due to access to ext vars being problematic
This commit is contained in:
parent
256a7f9f7e
commit
4a209cdac2
@ -21,12 +21,10 @@ buildscript {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// configure defaults for gradle version
|
// configure defaults for gradle version
|
||||||
/*
|
|
||||||
wrapper {
|
wrapper {
|
||||||
gradleVersion = "$gradlewVersion"
|
gradleVersion = "$gradlewVersion"
|
||||||
distributionType = Wrapper.DistributionType.ALL
|
distributionType = Wrapper.DistributionType.ALL
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
// append jdk version to gradle properties for use by CI environments
|
// append jdk version to gradle properties for use by CI environments
|
||||||
task writeCIGradleAndJdkVersionInfo(type: WriteProperties, group: "build setup") {
|
task writeCIGradleAndJdkVersionInfo(type: WriteProperties, group: "build setup") {
|
||||||
@ -48,7 +46,7 @@ task writeCIGradleAndJdkVersionInfo(type: WriteProperties, group: "build setup")
|
|||||||
}
|
}
|
||||||
|
|
||||||
// always run after wrapper task
|
// always run after wrapper task
|
||||||
// wrapper.finalizedBy writeCIGradleAndJdkVersionInfo
|
wrapper.finalizedBy writeCIGradleAndJdkVersionInfo
|
||||||
|
|
||||||
// use more compact source set directories without nesting for simple or mono-language projects
|
// use more compact source set directories without nesting for simple or mono-language projects
|
||||||
ext.useCompactKotlinSourceSets = { org.gradle.api.Project target ->
|
ext.useCompactKotlinSourceSets = { org.gradle.api.Project target ->
|
||||||
@ -63,7 +61,7 @@ ext.useCompactKotlinSourceSets = { org.gradle.api.Project target ->
|
|||||||
}
|
}
|
||||||
|
|
||||||
// configure defaults for java and jdk versions based on provided variables and enable intellij idea integration
|
// configure defaults for java and jdk versions based on provided variables and enable intellij idea integration
|
||||||
/*
|
|
||||||
ext.configureDefaultsIdeaKotlinJava = { org.gradle.api.Project target ->
|
ext.configureDefaultsIdeaKotlinJava = { org.gradle.api.Project target ->
|
||||||
target.idea {
|
target.idea {
|
||||||
module {
|
module {
|
||||||
@ -92,4 +90,3 @@ ext.configureDefaultsIdeaKotlinJava = { org.gradle.api.Project target ->
|
|||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
Loading…
Reference in New Issue
Block a user