-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (54 loc) · 1.91 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
buildscript {
ext.kotlin_version = '1.2.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'hecl'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven'
sourceSets.main.java.srcDirs = ["src/main/java"]
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/net.sf.kxml/kxml2
compile group: 'net.sf.kxml', name: 'kxml2', version: '2.3.0'
// https://mvnrepository.com/artifact/commons-cli/commons-cli
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
// https://mvnrepository.com/artifact/org.jdesktop/appframework
compile group: 'org.jdesktop', name: 'appframework', version: '1.0.3'
// https://mvnrepository.com/artifact/org.jdesktop/swing-layout
//compile group: 'org.jdesktop', name: 'swing-layout', version: '1.0.2'
// https://mvnrepository.com/artifact/org.swinglabs/swing-layout
compile group: 'org.swinglabs', name: 'swing-layout', version: '1.0.3'
//TODO: make it work with jline 3.5.1 or later
// https://mvnrepository.com/artifact/org.jline/jline
//compile group: 'org.jline', name: 'jline', version: '3.5.1'
// https://mvnrepository.com/artifact/jline/jline
// /** this version was in the original distro of hecl */
compile group: 'jline', name: 'jline', version: '0.9.94'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "https://clojars.org/repo") {
authentication(userName: mavenUser, password: mavenPassword)
}
}
}
}