Apply java-library plugin to published libraries

This commit is contained in:
str4d
2017-11-26 23:20:24 +00:00
parent 3f4daede8f
commit 3acb7a5c28
4 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,5 @@
apply plugin: 'java-library'
archivesBaseName = 'mstreaming' archivesBaseName = 'mstreaming'
sourceSets { sourceSets {
@ -14,7 +16,7 @@ sourceSets {
} }
dependencies { dependencies {
compile project(':core') api project(':core')
} }
configurations { configurations {

View File

@ -1,3 +1,5 @@
apply plugin: 'java-library'
sourceSets { sourceSets {
main { main {
java { java {
@ -12,7 +14,7 @@ sourceSets {
} }
dependencies { dependencies {
compile project(':core') api project(':core')
compile project(':apps:ministreaming') api project(':apps:ministreaming')
testCompile project(path: ':apps:ministreaming', configuration: 'tests') testImplementation project(path: ':apps:ministreaming', configuration: 'tests')
} }

View File

@ -1,3 +1,5 @@
apply plugin: 'java-library'
archivesBaseName = 'i2p' archivesBaseName = 'i2p'
sourceSets { sourceSets {

View File

@ -1,3 +1,5 @@
apply plugin: 'java-library'
sourceSets { sourceSets {
main { main {
java { java {
@ -12,8 +14,8 @@ sourceSets {
} }
dependencies { dependencies {
compile project(':core') api project(':core')
testCompile project(path: ':core', configuration: 'tests') testImplementation project(path: ':core', configuration: 'tests')
} }
jar { jar {