forked from takscape/cmecab-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (40 loc) · 1.17 KB
/
build.gradle
File metadata and controls
49 lines (40 loc) · 1.17 KB
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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
group = 'net.moraleboost.cmecab-java'
archivesBaseName = 'cmecab-java'
version = '2.1.0'
sourceCompatibility = 1.6
targetCompatibility = 1.6
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'
javadoc.options.charSet = 'UTF-8'
configurations {
deployerJars
}
repositories {
maven {
url 'http://maven.restlet.org/'
}
maven {
url 'http://jcenter.bintray.com/'
}
mavenCentral()
}
dependencies {
compile('com.nativelibs4java:bridj:0.7.0')
compile fileTree(dir: 'lib', include: '*.jar')
testCompile('junit:junit:4.12')
deployerJars('org.apache.maven.wagon:wagon-http:2.2')
}
uploadArchives {
repositories.mavenDeployer {
configuration = configurations.deployerJars
repository(url: System.properties['cmecab_java.repositoryUrl']) {
authentication(
userName: System.properties['cmecab_java.repositoryUser'],
password: System.properties['cmecab_java.repositoryPassword'])
}
}
}