-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
46 lines (37 loc) · 952 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
buildscript {
ext.kotlin_version = '1.0.5-2'
ext.kotlin_version = "$kotlinVersion"
ext.dokka_version = "0.9.10"
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
}
}
configurations.all {
resolutionStrategy.failOnVersionConflict()
}
allprojects {
apply plugin: 'idea'
repositories {
jcenter()
}
}
configure(subprojects.findAll {it.name != 'kopper.kt'}) {
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'org.jetbrains.dokka'
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2'
}
version = "${version}"