-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
47 lines (39 loc) · 1016 Bytes
/
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
/**
* Project build setup
**/
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
}
}
group = 'com.rmpt.citizencard'
version = '0.0.1'
subprojects {
apply plugin: 'kotlin'
apply plugin: 'org.jlleitschuh.gradle.ktlint'
// Kotlin bytecode setup
compileKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
compileTestKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
tasks.withType(Copy).all {
duplicatesStrategy 'exclude'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation "io.github.microutils:kotlin-logging-jvm:$kotlin_logging_version"
implementation "ch.qos.logback:logback-classic:$logback_version"
}
}