mirror of https://github.com/zlatinb/muwire
move i2p core dependency one level down, exclude core dependencies from plugin
parent
b981f9199b
commit
562d9a0f4a
|
@ -2,7 +2,6 @@ subprojects {
|
||||||
apply plugin: 'groovy'
|
apply plugin: 'groovy'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "net.i2p:i2p:${i2pVersion}"
|
|
||||||
compile 'org.codehaus.groovy:groovy-all:2.4.15'
|
compile 'org.codehaus.groovy:groovy-all:2.4.15'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ apply plugin : 'application'
|
||||||
mainClassName = 'com.muwire.core.Core'
|
mainClassName = 'com.muwire.core.Core'
|
||||||
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties']
|
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties']
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile "net.i2p:i2p:${i2pVersion}"
|
||||||
compile "net.i2p:router:${i2pVersion}"
|
compile "net.i2p:router:${i2pVersion}"
|
||||||
compile "net.i2p.client:mstreaming:${i2pVersion}"
|
compile "net.i2p.client:mstreaming:${i2pVersion}"
|
||||||
compile "net.i2p.client:streaming:${i2pVersion}"
|
compile "net.i2p.client:streaming:${i2pVersion}"
|
||||||
|
|
|
@ -3,6 +3,7 @@ mainClassName = 'com.muwire.hostcache.HostCache'
|
||||||
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties']
|
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties']
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile "net.i2p:i2p:${i2pVersion}"
|
||||||
testCompile 'org.junit.jupiter:junit-jupiter-api:5.4.2'
|
testCompile 'org.junit.jupiter:junit-jupiter-api:5.4.2'
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
apply plugin: 'application'
|
apply plugin: 'application'
|
||||||
mainClassName = 'com.muwire.pinger.Pinger'
|
mainClassName = 'com.muwire.pinger.Pinger'
|
||||||
|
dependencies {
|
||||||
|
compile "net.i2p:i2p:${i2pVersion}"
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
apply plugin : 'application'
|
apply plugin : 'application'
|
||||||
mainClassName = 'com.muwire.update.UpdateServer'
|
mainClassName = 'com.muwire.update.UpdateServer'
|
||||||
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties']
|
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties']
|
||||||
|
dependencies {
|
||||||
|
compile "net.i2p:i2p:${i2pVersion}"
|
||||||
|
}
|
||||||
|
|
|
@ -6,7 +6,9 @@ configurations {
|
||||||
apply plugin : 'war'
|
apply plugin : 'war'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
providedCompile project(':core')
|
providedCompile(project(':core')) {
|
||||||
|
transitive = false
|
||||||
|
}
|
||||||
compile fileTree("../i2pjars") { include '*.jar' }
|
compile fileTree("../i2pjars") { include '*.jar' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue