source: build.gradle @ 36a313cc

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

Don't make the apps/ dir itself a Gradle Java project

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