/
build.gradle
35 lines (30 loc) · 1.06 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
version = '2.0.3-SNAPSHOT'
defaultTasks 'clean','build'
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
ext.rundeckPluginVersion= '1.1'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation( [group: 'org.rundeck', name: 'rundeck-core', version: version,ext:'jar'])
implementation( [group: 'org.rundeck', name: 'rundeck-storage-api', version: version,ext:'jar'])
implementation( [group: 'commons-codec', name: 'commons-codec', version: "${commonsCodecVersion}",ext:'jar'])
testImplementation(
//[group: 'junit', name: 'junit', version: '3.8.1',ext:'jar']
)
}
ext.pluginClassNames='org.rundeck.plugin.example.ExampleStoragePlugin'
jar {
manifest {
attributes 'Rundeck-Plugin-Classnames': pluginClassNames
attributes 'Rundeck-Plugin-File-Version': version
attributes 'Rundeck-Plugin-Version': rundeckPluginVersion, 'Rundeck-Plugin-Archive': 'true'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}