Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Fixed issue with publications where group & version were missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrell committed Mar 12, 2018
1 parent 74cd43c commit fff03e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .buildscripts/upload_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ elif [ -z "$BINTRAY_KEY" ]; then
echo "Skipping upload: Expected BINTRAY_KEY to be set."
elif [ "$TRAVIS_BRANCH" = "master" ]; then
echo "Uploading SNAPSHOT build to oss.jfrog.org..."
./gradlew clean publishSdkPublicationToJFrogRepository
./gradlew clean assemble publishSdkPublicationToSnapshotRepository
echo "Build uploaded!"
elif [[ $TRAVIS_BRANCH =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Uploading RELEASE build to Bintray..."
Expand Down
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ allprojects {
mavenLocal()
jcenter()
}
}

group = 'com.constantcontact'
def isRelease = Boolean.valueOf(project.hasProperty("release") ? project.property("release") as String : "false")
version = '5.2.0' + (isRelease ? "" : "-SNAPSHOT")
group = 'com.constantcontact'
def isRelease = Boolean.valueOf(project.hasProperty("release") ? project.property("release") as String : "false")
version = '5.2.0' + (isRelease ? "" : "-SNAPSHOT")
}

apply plugin: "net.wooga.github"

Expand Down Expand Up @@ -90,8 +90,8 @@ subprojects {
publishing {
repositories {
maven {
name = "JFrog"
url "https://oss.jfrog.org/artifactory/oss-snapshot-local/"
name = "Snapshot"
url "https://oss.jfrog.org/artifactory/oss-snapshot-local"
credentials(PasswordCredentials) {
username = bintray.user
password = bintray.key
Expand Down

0 comments on commit fff03e9

Please sign in to comment.