-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
58 lines (51 loc) · 1.57 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.6'
}
}
apply plugin: 'java-gradle-plugin'
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
group = 'com.github.lkishalmi.gradle'
version = '0.3'
sourceCompatibility = '1.6'
task sourceJar(type: Jar) {
from sourceSets.main.allSource
}
publishing {
publications {
gradlePlugin(MavenPublication) {
from components.java
artifact sourceJar {
classifier 'sources'
}
}
}
}
bintray {
user = bintray_user
key = bintray_api_key
publications = ['gradlePlugin']
dryRun = false
publish = true
pkg {
repo = 'maven'
name = 'gradle-bom-plugin'
desc = 'Plugin for Gradle to Manage Versions of 3rd Party Libraries in a central place.'
websiteUrl = 'https://github.com/lkishalmi/gradle-bom-plugin'
issueTrackerUrl = 'https://github.com/lkishalmi/gradle-bom-plugin/issues'
vcsUrl = 'https://github.com/lkishalmi/gradle-bom-plugin.git'
licenses = ['Apache-2.0']
labels = ['gradle-plugin', 'version', 'dependencyManagement', 'dependency', 'force version', 'bom']
publicDownloadNumbers = true
version {
name = "${project.version}"
vcsTag = "${project.version}"
attributes = ['gradle-plugin': 'com.github.lkishalmi.bill-of-materials:com.github.lkishalmi.gradle:gradle-bom-plugin']
}
}
}