Remove :versions prefix from gradle projects and remove duplicated build code
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
include ':jGui'
|
||||
([
|
||||
[
|
||||
'core',
|
||||
'1.8',
|
||||
'1.8.9',
|
||||
'1.9.4',
|
||||
'1.12'
|
||||
].collect {":jGui:versions:$it"} as String[]).each {
|
||||
include it
|
||||
].each { version ->
|
||||
include ":jGui:$version"
|
||||
project(":jGui:$version").with {
|
||||
projectDir = file("jGui/versions/$version")
|
||||
buildFileName = '../common.gradle'
|
||||
}
|
||||
}
|
||||
|
||||
def versions = [
|
||||
@@ -21,6 +25,10 @@ def versions = [
|
||||
'1.12.1',
|
||||
'1.12.2'
|
||||
]
|
||||
versions.collect {":versions:$it"}.each {
|
||||
include it
|
||||
versions.each { version ->
|
||||
include ":$version"
|
||||
project(":$version").with {
|
||||
projectDir = file("versions/$version")
|
||||
buildFileName = '../common.gradle'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user