1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 06:12:06 +01:00

Remove further traces of sop-java from the build script

This commit is contained in:
Paul Schaub 2022-01-12 01:00:00 +01:00
parent ef02163d97
commit 020c0be8fb

View file

@ -31,13 +31,14 @@ allprojects {
apply plugin: 'checkstyle' apply plugin: 'checkstyle'
// Only generate jar for submodules // Only generate jar for submodules
// without this we would generate an empty pgpainless.jar for the project root
// https://stackoverflow.com/a/25445035 // https://stackoverflow.com/a/25445035
jar { jar {
onlyIf { !sourceSets.main.allSource.files.isEmpty() } onlyIf { !sourceSets.main.allSource.files.isEmpty() }
} }
// For non-sop modules, enable android api compatibility check // For library modules, enable android api compatibility check
if (it.name.equals('pgpainless-core') || it.name.equals('sop-java') || it.name.equals('pgpainless-sop')) { if (it.name != 'pgpainless-cli') {
// animalsniffer // animalsniffer
apply plugin: 'ru.vyarus.animalsniffer' apply plugin: 'ru.vyarus.animalsniffer'
dependencies { dependencies {