forked from nongfenqi/nexus3-rundeck-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
40 lines (34 loc) · 1.14 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
group 'com.nongfenqi.nexus.plugin'
version '1.0.1'
apply plugin: 'java'
sourceCompatibility = 1.8
apply plugin: 'osgi'
apply plugin: 'com.github.lburgazzoli.karaf'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.lburgazzoli:gradle-karaf-plugin:0.0.47"
}
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-plugin-api', version: '3.5.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-repository', version: '3.5.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-rest', version: '3.5.0-02'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
}
jar {
manifest { // the manifest of the default jar is of type OsgiManifest
name = project.name
instruction 'Bundle-Vendor', 'nongfenqi'
instruction 'Bundle-Description', 'Platform2: Metrics 2 Measures Framework'
instruction 'Bundle-DocURL', 'http://www.nongfenqi.com'
}
}