mirror of https://github.com/zlatinb/muwire
publish core to local maven repo
parent
6d6063829a
commit
564db3473c
|
@ -1,4 +1,9 @@
|
||||||
apply plugin : 'java-library'
|
|
||||||
|
plugins {
|
||||||
|
id 'java-library'
|
||||||
|
id 'maven-publish'
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api "net.i2p:i2p:${i2pVersion}"
|
api "net.i2p:i2p:${i2pVersion}"
|
||||||
api "net.i2p:router:${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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue