Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samtstern
Copy link
Contributor

This enables publication of -SNAPSHOT builds on jFrog artifactory. Once I get it configured, this can run from Travis (!!!)

Change-Id: Ibeba857c25ee0739ac20b1a11e34fc2448709f80
build.gradle Outdated
}

artifactory {
contextUrl = 'http://localhost:8081/artifactory'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to replace this with real credentials for oss.jfrog

Change-Id: I6a65ded32170be4f4a9ba1dd5965ac2192b03934
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

./gradlew :library:prepareArtifacts
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't explain it, but this script is the only way I can get things to work. Gradle task dependencies randomly skips some of these.

Change-Id: I094826c18cdf9d4604a0409d8540556f6b828e7f
@samtstern
Copy link
Contributor Author

I must have messed something up because I am getting a ton of lint errors like this:

... can only be called from within the same library group (groupId=artifacts)

Change-Id: I3efce1be42057503dc19cb90bfa20a0326a6775e
Change-Id: Ia27e3b4019fc7e945f328204484e2f96b5260836
Copy link
Collaborator

@SUPERCILEX SUPERCILEX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, this looks amazing!!! Now we won't have to keep pointing people to JitPack to try the latest and greatest. 😁

@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -e
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this can be inlined: #!/usr/bin/env bash -e.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn't like that 🤷‍♂️

Change-Id: I8c32017d2408dc589e5fcf24dfe7b9a188bd8679
Change-Id: I651190bb25cf874690b992578bc75fd340a1a71b
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-bin.zip
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, looks like this was a mistake.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌮

Change-Id: I0d36fe4c3ee477ab28cfbdb78cca719ec6bed51b
@samtstern samtstern merged commit 9d6b683 into version-3.2.2-dev Feb 14, 2018
@samtstern samtstern added this to the 3.2.2 milestone Feb 14, 2018
@samtstern samtstern deleted the artifactory branch February 27, 2018 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants