Initial set of Gradle build scripts for core and router

This commit is contained in:
str4d
2014-06-24 05:18:16 +00:00
parent 0305274a13
commit da777c1d7d
4 changed files with 51 additions and 0 deletions

15
build.gradle Normal file
View 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
View 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
View 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
View File

@@ -0,0 +1 @@
include 'core', 'router'