diff options
Diffstat (limited to 'bt/build.gradle')
-rw-r--r-- | bt/build.gradle | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/bt/build.gradle b/bt/build.gradle new file mode 100644 index 0000000..5beefce --- /dev/null +++ b/bt/build.gradle @@ -0,0 +1,46 @@ +buildscript { + repositories { + mavenCentral() + } + + dependencies { + classpath 'me.tatarka:gradle-retrolambda:2.5.0' + } +} + +apply plugin: 'java' +apply plugin: 'idea' + +configurations { + provided +} + +sourceSets { + main.compileClasspath += configurations.provided + test.compileClasspath += configurations.provided + test.runtimeClasspath += configurations.provided +} + +//sourceCompatibility JavaVersion.VERSION_1_8 +//targetCompatibility JavaVersion.VERSION_1_8 +//sourceCompatibility "1.8" +//targetCompatibility "1.8" + +//compileJava { +// sourceCompatibility 1.8 +// targetCompatibility 1.8 +//} + +apply plugin: 'me.tatarka.retrolambda' + +dependencies { + provided project(':trygvis-io-bt-stubs') + testCompile 'junit:junit:4.11' + testCompile 'org.easytesting:fest-assert:1.4' +} + +idea { + module { + scopes.PROVIDED.plus += [configurations.provided] // for Gradle 2.0 + } +} |