-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
50 lines (42 loc) · 977 Bytes
/
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
plugins {
id 'java'
id 'distribution'
id 'idea'
id 'eclipse'
id 'signing'
id 'org.omegat.gradle' version '1.5.7'
}
omegat {
version = '5.8.0'
pluginClass = pluginMainClass
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
packIntoJar 'commons-cli:commons-cli:1.4'
implementation 'commons-io:commons-io:2.7'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'org.omegat:lib-mnemonics:1.0'
}
distributions {
main {
contents {
from('README.md', 'COPYING')
into('docs') {
from 'CHANGELOG.md'
}
from(jar) {
into 'plugin'
}
}
}
}
task installPlugin(type: Copy) {
from 'build/install/plugin-omt-package/plugin'
into omegatPluginDir
include('*.jar')
}
signing {
sign tasks.jar
}
installPlugin.dependsOn installDist