-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (58 loc) · 1.72 KB
/
Copy pathbuild.gradle
File metadata and controls
68 lines (58 loc) · 1.72 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
id "com.jfrog.bintray" version "1.6"
}
apply plugin: 'groovy'
apply plugin: 'maven-publish'
version = '1.12.1.32'
group = 'de.interactive_instruments'
repositories {
mavenCentral()
}
dependencies {
compile localGroovy()
compile gradleApi()
compile group: 'org.apache.felix', name: 'org.apache.felix.ipojo.manipulator', version: '1.12.1'
}
jar {
manifest {
attributes 'Implementation-Title': 'Gradle OSGI iPOJO Plugin',
'Implementation-Version': version,
'Built-By': System.getProperty('user.name'),
'Built-Date': new Date(),
'Built-JDK': System.getProperty('java.version'),
'Built-Gradle': gradle.gradleVersion
}
}
bintray {
user = project.bintrayUser
key = project.bintrayApiKey
publications = ['gradlePlugin']
publish = true
pkg {
repo = 'maven'
name = project.name
userOrg = 'iide'
licenses = ['Apache-2.0']
websiteUrl = 'https://github.com/interactive-instruments/gradle-plugin-osgi-ipojo'
issueTrackerUrl = 'https://github.com/interactive-instruments/gradle-plugin-osgi-ipojo/issues'
vcsUrl = 'https://github.com/interactive-instruments/gradle-plugin-osgi-ipojo.git'
githubRepo = 'interactive-instruments/gradle-plugin-osgi-ipojo' //Optional Github repository
githubReleaseNotesFile = 'README.md' //Optional Github readme file
version {
name = project.version
}
}
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
}
publishing {
publications {
gradlePlugin(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}