mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-10-09 16:29:33 +02:00
Prevent build of empty root jar
This commit is contained in:
parent
8e3ee6c284
commit
cb287e46eb
|
@ -42,6 +42,12 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
// Only generate jar for submodules
|
||||
// https://stackoverflow.com/a/25445035
|
||||
jar {
|
||||
onlyIf { !sourceSets.main.allSource.files.isEmpty() }
|
||||
}
|
||||
|
||||
// checkstyle
|
||||
checkstyle {
|
||||
toolVersion = '8.18'
|
||||
|
|
Loading…
Reference in a new issue