Permalink
Browse files

Upload to bintray from gradle

  • Loading branch information...
albertoruibal committed Oct 12, 2016
1 parent 50327b9 commit d181609d5ba0b345818f65676b811a9f9136ad22
Showing with 59 additions and 13 deletions.
  1. +11 −0 build.gradle
  2. +16 −1 core/build.gradle
  3. +16 −1 gwt/build.gradle
  4. +16 −11 jse/build.gradle
@@ -1,4 +1,15 @@
allprojects {
buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'net.sf.proguard:proguard-gradle:5.2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1'
}
}

apply plugin: 'java'
apply plugin: 'maven-publish'

@@ -1,4 +1,4 @@
archivesBaseName = 'carballo-core'
apply plugin: 'com.jfrog.bintray'

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
@@ -17,4 +17,19 @@ publishing {
artifact sourcesJar
}
}
}

bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
publications = ['carballoCore']
pkg {
repo = 'maven'
name = 'com.alonsoruibal.carballo-core'
desc = 'Carballo (the galician word for Oak, it\'s all about search trees) is an Open Source Java chess engine'
licenses = ['GPL-3.0']
vcsUrl = 'https://github.com/albertoruibal/carballo.git'
githubRepo = 'albertoruibal/carballo'
publish = true
}
}
@@ -1,4 +1,4 @@
archivesBaseName = 'carballo-gwt'
apply plugin: 'com.jfrog.bintray'

dependencies {
compile 'com.google.gwt:gwt-user:2.8.0-rc3'
@@ -23,4 +23,19 @@ publishing {
artifact sourcesJar
}
}
}

bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
publications = ['carballoGwt']
pkg {
repo = 'maven'
name = 'com.alonsoruibal.carballo-gwt'
desc = 'Carballo (the galician word for Oak, it\'s all about search trees) is an Open Source Java chess engine'
licenses = ['GPL-3.0']
vcsUrl = 'https://github.com/albertoruibal/carballo.git'
githubRepo = 'albertoruibal/carballo'
publish = true
}
}
@@ -1,14 +1,4 @@
archivesBaseName = 'carballo-jse'

buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'net.sf.proguard:proguard-gradle:5.2.1'
}
}
apply plugin: 'com.jfrog.bintray'

dependencies {
compile project(':core')
@@ -65,4 +55,19 @@ publishing {
artifactId = 'carballo-jse'
}
}
}

bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
publications = ['carballoJse']
pkg {
repo = 'maven'
name = 'com.alonsoruibal.carballo-jse'
desc = 'Carballo (the galician word for Oak, it\'s all about search trees) is an Open Source Java chess engine'
licenses = ['GPL-3.0']
vcsUrl = 'https://github.com/albertoruibal/carballo.git'
githubRepo = 'albertoruibal/carballo'
publish = true
}
}

0 comments on commit d181609

Please sign in to comment.