generated from omegat-org/plugin-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (54 loc) · 1.32 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
plugins {
id('java')
id('jacoco')
id('checkstyle')
id('distribution')
id('maven-publish')
id('groovy')
id('org.omegat.gradle') version '1.5.7'
}
version = '1.0'
omegat {
version = "5.7.1"
pluginClass = "cc.jasonchen.omegatplugin.googlemachinetranslator.GoogleMT"
}
// For Local Development ONLY
// START --
repositories {
maven {
url 'https://maven.aliyun.com/repository/public/'
}
maven {
url 'https://maven.aliyun.com/repository/gradle-plugin'
}
maven {
url 'https://maven.aliyun.com/repository/spring/'
}
maven {
url 'https://maven.aliyun.com/repository/google'
}
mavenLocal()
mavenCentral()
}
// END --
dependencies {
packIntoJar 'org.slf4j:slf4j-api:1.7.21'
implementation 'commons-io:commons-io:2.5'
implementation 'commons-lang:commons-lang:2.6'
implementation 'org.slf4j:slf4j-nop:1.7.21'
testImplementation 'junit:junit:4.12'
testImplementation 'xmlunit:xmlunit:1.6'
testImplementation 'org.madlonkay.supertmxmerge:supertmxmerge:2.0.1'
}
checkstyle {
ignoreFailures = true
toolVersion = '9.3'
}
distributions {
main {
contents {
from(jar)
from('README.md', 'COPYING', 'CHANGELOG.md')
}
}
}