mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-17 13:12:04 +01:00
Prevent build of empty root jar
This commit is contained in:
parent
8e3ee6c284
commit
cb287e46eb
1 changed files with 6 additions and 0 deletions
|
@ -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