source: build.gradle @ e011d60

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

Add project file generation for IDEA

  • Property mode set to 100644
File size: 772 bytes
Line 
1subprojects {
2    apply plugin: 'java'
3    apply plugin: 'eclipse'
4    apply plugin: 'idea'
5
6    repositories {
7        jcenter()
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.