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'
sourceSets {
@ -14,7 +16,7 @@ sourceSets {
}
dependencies {
compile project(':core')
api project(':core')
}
configurations {

View File

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

View File

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

View File

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