source: build.gradle @ d76d68e

Last change on this file since d76d68e was 49d970c, checked in by str4d <str4d@…>, 3 years ago

Fix compilation without bootstrap classpath set

  • Property mode set to 100644
File size: 748 bytes
Line 
1subprojects {
2    apply plugin: 'java'
3    apply plugin: 'eclipse'
4
5    repositories {
6        jcenter()
7    }
8
9
10    dependencies {
11        testCompile 'junit:junit:4.+'
12        testCompile 'org.hamcrest:hamcrest-library:1.3'
13        testCompile 'org.mockito:mockito-core:2.11.0'
14    }
15
16    jar {
17        manifest {
18            attributes 'Implementation-Version': '0.9.31-7'
19        }
20    }
21
22    sourceCompatibility = 1.7
23    // Set i2pBootClasspath=/path/to/rt.jar:/path/to/jce.jar in ~/.gradle/gradle.properties if needed
24    if (i2pBootClasspath) {
25        tasks.withType(AbstractCompile, { AbstractCompile ac ->
26            ac.options.bootstrapClasspath = files(i2pBootClasspath)
27        })
28    }
29}
30
31//apply from: file('gradle/update.gradle')
Note: See TracBrowser for help on using the repository browser.