/*
|
* 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.6'
|
}
|
|
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 "http://repo.maven.apache.org/maven2" }
|
maven { url "http://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"
|
// }
|
//}
|