-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (26 loc) · 724 Bytes
/
build.gradle
File metadata and controls
33 lines (26 loc) · 724 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 = 'io.github.sing1ee'
version = '1.0'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenLocal()
mavenCentral()
maven { url "http://maven.tmorn.com:8081/content/groups/public/" }
}
task 'createJavaProject' << {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs()}
}
sourceCompatibility = "1.8"
jar {
manifest.attributes provider: 'sing1ee'
}
dependencies {
testCompile('junit:junit:4.11')
// compile 'org.fnlp:fnlp-core:2.1'
compile 'com.google.guava:guava:18.0'
//chinese to pinyin
compile('com.github.stuxuhai:jpinyin:1.0')
}