source: build.gradle @ e011d60

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

Add project file generation for IDEA

  • Property mode set to 100644
File size: 772 bytes
RevLine 
[da777c1]1subprojects {
2    apply plugin: 'java'
[a3df4a3]3    apply plugin: 'eclipse'
[e011d60]4    apply plugin: 'idea'
[da777c1]5
[aa3ac754]6    repositories {
[041f547]7        jcenter()
[aa3ac754]8    }
9
10    dependencies {
11        testCompile 'junit:junit:4.+'
[c78af82]12        testCompile 'org.hamcrest:hamcrest-library:1.3'
[bf63947]13        testCompile 'org.mockito:mockito-core:2.11.0'
[aa3ac754]14    }
15
[da777c1]16    jar {
17        manifest {
[7b221fa]18            attributes 'Implementation-Version': '0.9.31-7'
[da777c1]19        }
20    }
[3eef793b]21
22    sourceCompatibility = 1.7
[49d970c]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    }
[da777c1]29}
[0bfe45be]30
31//apply from: file('gradle/update.gradle')
Note: See TracBrowser for help on using the repository browser.