Skip to content

Commit 60f24ff

Browse files
committed
ready to release soon
1 parent 3bbd32b commit 60f24ff

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

build.gradle

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.text.SimpleDateFormat
2+
13
buildscript {
24
repositories {
35
jcenter()
@@ -21,6 +23,9 @@ apply plugin: 'biz.aQute.bnd.builder'
2123
apply plugin: 'com.jfrog.bintray'
2224
apply plugin: 'maven-publish'
2325

26+
def releaseVersion = System.properties.RELEASE_VERSION
27+
version = releaseVersion ? releaseVersion : new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date())
28+
2429
// custom tasks for creating source/javadoc jars
2530
task sourcesJar(type: Jar, dependsOn: classes) {
2631
classifier = 'sources'
@@ -134,10 +139,10 @@ bintray {
134139
publications = ['maven']
135140
publish = true
136141
pkg {
137-
repo = 'maven'
138-
name = project.name
142+
repo = 'graphql-java-graphql-java-annotations'
143+
name = 'graphql-java-annotations'
139144
licenses = ['Apache-2.0']
140-
vcsUrl = 'https://github.com/graphql-java/graphql-java-servlet'
145+
vcsUrl = 'https://github.com/graphql-java/graphql-java-annotations'
141146
version {
142147
name = project.version
143148
}

gradle.properties

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
version = 0.14.1
21
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

0 commit comments

Comments
 (0)