-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
95 lines (78 loc) · 2.22 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
buildscript {
ext.kotlin_version = '1.1.3-2'
repositories {
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0"
}
}
plugins {
// id "com.github.hierynomus.license" version "0.14.0"
// id "com.github.hierynomus.license-base" version "0.14.0"
}
allprojects {
group = 'com.devexperts.usages'
version = '3.0-alpha-1'
}
ext {
aether_version = "1.0.0.v20140518"
dxlib_version = "3.255"
// spring_version = "5.0.0.RELEASE"
spring_boot_version = "2.0.0.M4"
}
//apply plugin: 'license'
//license {
// header = project.file('HEADER.txt')
// ext.year = Calendar.getInstance().get(Calendar.YEAR)
// ext.name = 'Devexperts LLC'
//}
subprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
// apply plugin: 'license'
// license {
// header = rootProject.file('HEADER.txt')
// ext.year = Calendar.getInstance().get(Calendar.YEAR)
// ext.name = 'Devexperts LLC'
// }
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
jcenter()
mavenCentral()
maven { url "http://repo.spring.io/milestone/" }
maven { url "https://dl.bintray.com/dxfeed/Maven/" }
maven { url "https://dl.bintray.com/kotlin/exposed" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.16"
}
kotlin {
experimental {
coroutines "enable"
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url "http://repo.spring.io/milestone/" }
}
}
}