File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change
1
+ import java.text.SimpleDateFormat
2
+
1
3
buildscript {
2
4
repositories {
3
5
jcenter()
@@ -21,6 +23,9 @@ apply plugin: 'biz.aQute.bnd.builder'
21
23
apply plugin : ' com.jfrog.bintray'
22
24
apply plugin : ' maven-publish'
23
25
26
+ def releaseVersion = System . properties. RELEASE_VERSION
27
+ version = releaseVersion ? releaseVersion : new SimpleDateFormat (' yyyy-MM-dd\' T\' HH-mm-ss' ). format(new Date ())
28
+
24
29
// custom tasks for creating source/javadoc jars
25
30
task sourcesJar (type : Jar , dependsOn : classes) {
26
31
classifier = ' sources'
@@ -134,10 +139,10 @@ bintray {
134
139
publications = [' maven' ]
135
140
publish = true
136
141
pkg {
137
- repo = ' maven '
138
- name = project . name
142
+ repo = ' graphql-java-graphql-java-annotations '
143
+ name = ' graphql-java-annotations '
139
144
licenses = [' Apache-2.0' ]
140
- vcsUrl = ' https://github.com/graphql-java/graphql-java-servlet '
145
+ vcsUrl = ' https://github.com/graphql-java/graphql-java-annotations '
141
146
version {
142
147
name = project. version
143
148
}
Original file line number Diff line number Diff line change 1
- version = 0.14.1
2
1
group = com.graphql-java
2
+
3
+ org.gradle.caching =true
4
+ org.gradle.daemon =true
5
+ org.gradle.parallel =true
6
+ org.gradle.jvmargs =-Dfile.encoding =UTF-8
7
+
8
+ bintray.user =DUMMY_USER
9
+ bintray.key =DUMMY_KEY
You can’t perform that action at this time.
0 commit comments