adjust gradle publish coordinates

This commit is contained in:
Joshua Warner 2014-08-21 10:56:58 -06:00
parent 978f86b25c
commit d2809f2c4d
2 changed files with 7 additions and 5 deletions

View File

@ -129,10 +129,12 @@ publishing {
from components.java from components.java
artifact(javadocJar) artifact(javadocJar)
module "classpath-avian"
} }
create("tools-${currentPlatformArch}", IvyPublication) { create("tools-avian-${currentPlatformArch}", IvyPublication) {
module "avian-tools-${currentPlatformArch}" module "tools-avian-${currentPlatformArch}"
def publishBinSuffix = currentPlatform == "windows" ? "exe" : "bin" def publishBinSuffix = currentPlatform == "windows" ? "exe" : "bin"
def binSuffix = currentPlatform == "windows" ? ".exe" : "" def binSuffix = currentPlatform == "windows" ? ".exe" : ""
@ -155,12 +157,12 @@ publishing {
binSuffix = ".${publishBinSuffix}" binSuffix = ".${publishBinSuffix}"
} }
module "${project.name}-${platform.name}" module "runtime-avian-${platform.name}"
artifact("${nativeBuildDir}/avian${binSuffix}") { artifact("${nativeBuildDir}/avian${binSuffix}") {
name "avian" name "avian"
type publishBinSuffix type publishBinSuffix
extension publishBinSuffix extension binSuffix
} }
artifact("${nativeBuildDir}/libavian.a") { artifact("${nativeBuildDir}/libavian.a") {

View File

@ -1,4 +1,4 @@
org.gradle.daemon=true org.gradle.daemon=true
group=com.readytalk group=com.readytalk.avian
version=1.1.0-SNAPSHOT version=1.1.0-SNAPSHOT