publish core to local maven repo

pull/53/head
Zlatin Balevsky 2020-05-05 16:01:23 +01:00
parent 6d6063829a
commit 564db3473c
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,9 @@
apply plugin : 'java-library'
plugins {
id 'java-library'
id 'maven-publish'
}
dependencies {
api "net.i2p:i2p:${i2pVersion}"
api "net.i2p:router:${i2pVersion}"
@ -19,3 +24,15 @@ configurations {
}
}
}
// publish core to local maven repo for sister projects
publishing {
publications {
muCore(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}