Skip to content

Instantly share code, notes, and snippets.

@islomar
Last active May 8, 2019 14:32
Show Gist options
  • Save islomar/f2115308cfb99b2445c1f4a44cea2e5c to your computer and use it in GitHub Desktop.
Save islomar/f2115308cfb99b2445c1f4a44cea2e5c to your computer and use it in GitHub Desktop.
Info and hints related with Gradle

Gradle cheat sheet

  • https://www.vogella.com/tutorials/Gradle/article.html
  • ./gradlew build -x test: skip tests
  • Refresh dependencies: You can refresh dependencies in your cache with the command line option --refresh-dependencies. You can also delete the cached files under ~/.gradle/caches. With the next build Gradle attempts to download the dependencies again.
  • How to use a local dependency B from A:
    • In A
repositories {
    mavenLocal()
  • In B: ./gradlew build publishToMavenLocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment