gradle: reducing code duplication

This commit is contained in:
rusefillc 2023-05-30 22:10:01 -04:00
parent b471584862
commit 0fda4705c0
6 changed files with 8 additions and 6 deletions

View File

@ -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'

View File

@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
}
configurations {

View File

@ -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'
}

View File

@ -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'

View File

@ -1,2 +1,4 @@
# seems not to work sorry
# org.gradle.unsafe.configuration-cache=true
# org.gradle.unsafe.configuration-cache=true
shadowVersion=6.1.0

View File

@ -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'