build.gradle 1.47 KB
Newer Older
alexander.weigl's avatar
alexander.weigl committed
1 2 3 4
plugins {
    id "com.github.ben-manes.versions" version "0.17.0"
}

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

subprojects {
alexander.weigl's avatar
alexander.weigl committed
12
  //  apply plugin: 'io.franzbecker.gradle-lombok'
Alexander Weigl's avatar
Alexander Weigl committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
    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
29 30 31 32 33 34 35
    task printClasspath {
        doLast {//            sourceSets.test.runtimeClasspath.

            sourceSets.test.runtimeClasspath.each {println it}

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

    dependencies {
        compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
alexander.weigl's avatar
alexander.weigl committed
39 40
        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
41
        compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
alexander.weigl's avatar
alexander.weigl committed
42 43
        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
44
        testCompile group: 'junit', name: 'junit', version: '4.12'
45
        compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.20'
Alexander Weigl's avatar
Alexander Weigl committed
46 47
    }
}