build.gradle 1.59 KB
Newer Older
alexander.weigl's avatar
alexander.weigl committed
1 2 3 4 5
plugins {
//    id 'io.franzbecker.gradle-lombok' version '1.14' apply false
    id "com.github.ben-manes.versions" version "0.17.0"
}

Alexander Weigl's avatar
Alexander Weigl committed
6 7 8
allprojects {
    apply plugin: 'maven'
    group = 'edu.kit.iti.formal.psdbg'
Sarah Grebing's avatar
Sarah Grebing committed
9
    version = '1.2-experimental'
Alexander Weigl's avatar
Alexander Weigl committed
10 11 12
}

subprojects {
alexander.weigl's avatar
alexander.weigl committed
13
  //  apply plugin: 'io.franzbecker.gradle-lombok'
Alexander Weigl's avatar
Alexander Weigl committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
    apply plugin: 'java'
    apply plugin: 'idea'

    sourceCompatibility = 1.8
    targetCompatibility = 1.8
    tasks.withType(JavaCompile) {
        options.encoding = 'UTF-8'
    }

    repositories {
        mavenLocal()
        maven { url "http://repo.maven.apache.org/maven2" }
        maven { url "http://dl.bintray.com/jerady/maven" }
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
    }

Alexander Weigl's avatar
Alexander Weigl committed
30 31 32 33 34 35 36
    task printClasspath {
        doLast {//            sourceSets.test.runtimeClasspath.

            sourceSets.test.runtimeClasspath.each {println it}

        }
    }
Alexander Weigl's avatar
Alexander Weigl committed
37 38 39

    dependencies {
        compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
alexander.weigl's avatar
alexander.weigl committed
40 41
        compile group: 'com.google.guava', name: 'guava', version: '25.0-jre'
        compile group: 'commons-io', name: 'commons-io', version: '2.6'
Alexander Weigl's avatar
Alexander Weigl committed
42
        compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
alexander.weigl's avatar
alexander.weigl committed
43 44
        compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.0'
        compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
Alexander Weigl's avatar
Alexander Weigl committed
45
        testCompile group: 'junit', name: 'junit', version: '4.12'
alexander.weigl's avatar
alexander.weigl committed
46 47
        //compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.20'
        compileOnly files("$rootDir/lombok-edge.jar")
Alexander Weigl's avatar
Alexander Weigl committed
48 49
    }
}