forked from micromata/borgbackup-butler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (71 loc) · 1.88 KB
/
build.gradle
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
* 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
*/
plugins {
id "org.jetbrains.kotlin.jvm" version "1.4.32" apply false
}
allprojects {
group = 'de.micromata.borgbutler'
version = '0.7'
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.jetbrains.kotlin.jvm'
sourceCompatibility = 9 // Needed: since 1.9 i18n properties in UTF-8 format.
targetCompatibility = 9
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
options.encoding = 'UTF-8'
}
repositories {
jcenter()
maven { url "https://repo.maven.apache.org/maven2" }
maven { url "https://maven.ej-technologies.com/repository" }
}
dependencies {
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 = '6.8.3'
}
//buildscript {
// ext.kotlin_version = '1.4.32-release-371'
// repositories {
// mavenCentral()
// }
// dependencies {
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// }
//}
//apply plugin: 'kotlin'
//repositories {
// mavenCentral()
//}
//dependencies {
// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
//}
//compileKotlin {
// kotlinOptions {
// jvmTarget = "1.8"
// }
//}
//compileTestKotlin {
// kotlinOptions {
// jvmTarget = "1.8"
// }
//}