-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (44 loc) · 1.38 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
buildscript {
ext.kotlin_version = '1.1.2-2'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
//id "org.jetbrains.kotlin.jvm" version "1.1.1"
id "java"
}
apply plugin: "kotlin"
group = 'com.github.cqjjjzr'
version = '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
ext.kotlin_version = '1.1.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
// Kotlin libs
compile(group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version:'1.1.1')
compile group: 'org.jetbrains', name: 'annotations', version:'LATEST'
// Project dependencies
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version:'2.8.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.8.1'
compile group: 'org.apache.commons', name: 'commons-configuration2', version: '2.1.1'
compile group: 'ro.fortsoft.pf4j', name: 'pf4j', version: '1.2.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.8.1'
//Test libs
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version:'1.1.0'
testCompile group: 'junit', name: 'junit', version:'4.12'
}