-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (27 loc) · 747 Bytes
/
Copy pathbuild.gradle
File metadata and controls
33 lines (27 loc) · 747 Bytes
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
group 'me.mx1700'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.0.2-1'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.5
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// testCompile group: 'junit', name: 'junit', version: '4.11'
// testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
// testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
}
sourceSets {
main.kotlin.srcDirs += 'src/main/kotlin'
main.java.srcDirs += 'src/main/java'
}