mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
10.44.2019 ded8b349eb5e5d9b39c97baf7ddcab4166b17830
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * This file was generated by the Gradle 'init' task.
 *
 * This generated file contains a sample Java project to get you started.
 * For more details take a look at the Java Quickstart chapter in the Gradle
 * user guide available at https://docs.gradle.org/5.0/userguide/tutorial_java_projects.html
 */
 
allprojects {
    apply plugin: 'maven'
 
    group = 'de.micromata.borgbutler'
    version = '0.1-SNAPSHOT'
}
 
subprojects {
    apply plugin: 'java'
    sourceCompatibility = 1.9 // Needed: since 1.9 i18n properties in UTF-8 format.
    targetCompatibility = 1.9
 
    tasks.withType(JavaCompile) {
        options.compilerArgs << '-Xlint:unchecked'
        options.deprecation = true
        options.encoding = 'UTF-8'
    }
 
    repositories {
        jcenter()
        maven { url "http://repo.maven.apache.org/maven2" }
        maven { url "http://maven.ej-technologies.com/repository" }
    }
 
    dependencies {
        compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
        testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
        testImplementation(
                'org.junit.jupiter:junit-jupiter-api:5.3.0'
        )
        testRuntimeOnly(
                'org.junit.jupiter:junit-jupiter-engine:5.3.0',
                'org.junit.vintage:junit-vintage-engine:5.3.0'
        )
    }
 
    test {
        useJUnitPlatform()
    }
}
 
wrapper {
    gradleVersion = '4.10.2'
}