Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}
}
plugins {
id "com.jfrog.bintray" version "1.7"
id "com.jfrog.bintray" version "1.8.4"
id 'net.researchgate.release' version '2.3.4'
id "com.github.hierynomus.license" version "0.14.0"
}
Expand All @@ -24,8 +24,8 @@ apply plugin: 'biz.aQute.bnd.builder'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'

def releaseVersion = System.properties.RELEASE_VERSION
version = releaseVersion ? releaseVersion : new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date())
//def releaseVersion = System.properties.RELEASE_VERSION
//version = releaseVersion ? releaseVersion : new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date())

// custom tasks for creating source/javadoc jars
task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down Expand Up @@ -143,7 +143,7 @@ publishing {
id 'guy120494'
name 'Guy Smorodinsky'
}
developer{
developer {
id 'osher-sade'
name 'Osher Sade'
}
Expand All @@ -170,6 +170,13 @@ bintray {
version {
name = project.version
released = new Date()
mavenCentralSync {
sync = true //[Default: true] Determines whether to sync the version to Maven Central.
user = System.getenv('OSS_USER') ?: project.findProperty('OSS_USER') ?: ''
password = System.getenv('OSS_PASS') ?: project.findProperty('OSS_PASS') ?: ''
close = '1'
//Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
}
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.jvmargs=-Dfile.encoding=UTF-8

bintray.user=DUMMY_USER
bintray.key=DUMMY_KEY
version = 6.1
version = 6.2
Empty file removed secret2.gpg
Empty file.