File tree Expand file tree Collapse file tree 4 files changed +21
-25
lines changed Expand file tree Collapse file tree 4 files changed +21
-25
lines changed Original file line number Diff line number Diff line change 1
1
build
2
2
.gradle
3
+ target
Original file line number Diff line number Diff line change 1
1
all :
2
- mvn install
2
+ ./gradlew jar
3
3
4
- build :
5
- mvn compile
4
+ upload :
5
+ ./gradlew bintrayUpload
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ buildscript {
7
7
}
8
8
}
9
9
10
+ apply plugin : ' maven-publish'
10
11
apply plugin : ' com.jfrog.bintray'
11
12
apply plugin : ' java'
12
13
apply plugin : ' ivy-publish'
@@ -48,6 +49,19 @@ publishing {
48
49
asNode(). info[0 ]. appendNode(' description' , description)
49
50
}
50
51
}
52
+
53
+ mavenJava(MavenPublication ) {
54
+ from components. java
55
+ artifact(sourceJar) {
56
+ classifier " sources"
57
+ }
58
+ pom. withXml {
59
+ def root = asNode()
60
+ root. appendNode(' name' , ' SimpleKML' )
61
+ root. appendNode(' url' , ' http://github.com/crankycoder/SimpleKML' )
62
+ }
63
+ }
64
+
51
65
}
52
66
}
53
67
@@ -58,9 +72,9 @@ compileJava {
58
72
59
73
60
74
bintray {
61
- user = ' crankycoder '
62
- key = ' 71a63463f17c7986fa654d7fb6c3e4d764daaaf8 '
63
-
75
+ user = ' '
76
+ key = ' '
77
+ publications = [ ' mavenJava ' ]
64
78
publish = true
65
79
pkg {
66
80
repo = ' SimpleKML'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments