diff --git a/build.gradle b/build.gradle index 0b0a246..7bf54b3 100644 --- a/build.gradle +++ b/build.gradle @@ -160,6 +160,8 @@ project('spring-security-kerberos-test') { } project('spring-security-kerberos-samples-common') { + // don't publish boot packaged samples + configurations.archives.artifacts.removeAll { it.archiveTask.is jar } dependencies { compile project(":spring-security-kerberos-core") } @@ -167,6 +169,8 @@ project('spring-security-kerberos-samples-common') { configure(sampleServerProjects()) { apply plugin: 'spring-boot' + // don't publish boot packaged samples + configurations.archives.artifacts.removeAll { it.archiveTask.is jar } dependencies { compile project(":spring-security-kerberos-samples-common") compile project(":spring-security-kerberos-client") @@ -181,6 +185,8 @@ configure(sampleServerProjects()) { configure(sampleClientProjects()) { apply plugin: 'spring-boot' + // don't publish boot packaged samples + configurations.archives.artifacts.removeAll { it.archiveTask.is jar } dependencies { compile project(":spring-security-kerberos-samples-common") compile project(":spring-security-kerberos-client")