source: build.gradle @ 3eef793b

Last change on this file since 3eef793b was 3eef793b, checked in by str4d <str4d@…>, 2 years ago

Add bootstrap classpath JARs if necessary

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