gradle: reducing code duplication
This commit is contained in:
parent
b471584862
commit
0fda4705c0
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
||||
}
|
||||
|
||||
apply from: '../../java_tools/dependencies.gradle'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
||||
id 'antlr'
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
||||
}
|
||||
|
||||
defaultTasks 'shadowJar'
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# seems not to work sorry
|
||||
# org.gradle.unsafe.configuration-cache=true
|
||||
|
||||
shadowVersion=6.1.0
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
||||
}
|
||||
|
||||
defaultTasks 'shadowJar'
|
||||
|
|
Loading…
Reference in New Issue