forked from wasabifx/wasabi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.gradle
52 lines (45 loc) · 1.06 KB
/
sample.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
buildscript {
// Keeps in sync with current development snapshots, good idea following current wasabi.
project.ext.kotlin_version = '0.1-SNAPSHOT'
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = '// TODO: Fill in {domain.Packagename}Package'
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url "http://repository.jetbrains.com/all"
}
}
dependencies {
compile "org.wasabi:wasabi:0.1-SNAPSHOT"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
sourceSets {
src {
main {
kotlin
}
}
test {
main {
kotlin
}
}
main.java.srcDirs += 'src/main/kotlin'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.5'
}