Closed AndrewReitz closed 10 years ago
Thanks, Andrew. When I try doing a build, I get the error below. Any ideas? Thanks, David
$ gradle build
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'AndroidIBeaconLibrary'.
Could not resolve all dependencies for configuration ':_debugTestCompile'. Could not find any version that matches com.android.support:support-v4:19.1.+. Required by: com.radiusnetworks:AndroidIBeaconLibrary:0.7.6 > com.squareup:fest-android:1.0.8
BUILD FAILED
Total time: 5.963 secs
It looks like your support library needs to be updated. Can you open up the sdk manager and see if there is a newer version?
That did it. Something didn't like me being one dot version behind. So now I can do a ./gradlew release
successfully, but I don't think it tries to sign or upload to maven central. Should this work a different way?
The release
task is an artifact from what was there before. It looks like it's suppose to generate the eclipse build. I can add the upload task to that if you would like. Currently to upload it's ./gradlew uploadArchives -Prelease
, to do a release ./gradlew uploadArchives -Psnapshot
for snapshot, and ./gradlew uploadArchives
for local.
I just updated to have the version to generate based off of the latest tag. Also updated so when you run ./gradlew release
a complete release should be done. Also added mavenRelease
and mavenSnapshot
, which do the same things as uploadArchives -Psnapshot
and uploadArchives -Prelease
Oh also moved the group to gradle.properties so that I can have it go to my snapshot when testing, without having to worry about checking in something wrong.
@davidgyoung What's the status on this? It looks like it's been merged in.
Merged in e353fb2c6338e72b4d23f8f78a1247921b29f92a
On Tue, May 27, 2014 at 1:40 PM, Andrew Reitz notifications@github.comwrote:
@davidgyoung https://github.com/davidgyoung What's the status on this? It looks like it's been merged in.
— Reply to this email directly or view it on GitHubhttps://github.com/RadiusNetworks/android-ibeacon-service/pull/37#issuecomment-44308887 .
Copy the gradle.properties.dist to gradle.properties and fill in the fields. Run ./gradlew uploadArchives -Prelease to push to release, -Psnapshot to release to snapshots.
Also clean up build.gradle and added Travis Builds