forked from I2P_Developers/i2p.i2p
Initial set of Gradle build scripts for core and router
This commit is contained in:
15
build.gradle
Normal file
15
build.gradle
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
subprojects {
|
||||||
|
apply plugin: 'java'
|
||||||
|
|
||||||
|
sourceCompatibility = 1.5
|
||||||
|
version = '0.9.13-8'
|
||||||
|
jar {
|
||||||
|
manifest {
|
||||||
|
attributes 'Implementation-Version': version
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
18
core/build.gradle
Normal file
18
core/build.gradle
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
archivesBaseName = 'i2p'
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
main {
|
||||||
|
java {
|
||||||
|
srcDir 'java/src'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
test {
|
||||||
|
java {
|
||||||
|
srcDir 'java/test/junit'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
testCompile 'junit:junit:4.+'
|
||||||
|
}
|
||||||
17
router/build.gradle
Normal file
17
router/build.gradle
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
sourceSets {
|
||||||
|
main {
|
||||||
|
java {
|
||||||
|
srcDir 'java/src'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
test {
|
||||||
|
java {
|
||||||
|
srcDir 'java/test/junit'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile project(':core')
|
||||||
|
testCompile 'junit:junit:4.+'
|
||||||
|
}
|
||||||
1
settings.gradle
Normal file
1
settings.gradle
Normal file
@@ -0,0 +1 @@
|
|||||||
|
include 'core', 'router'
|
||||||
Reference in New Issue
Block a user