Skip to content

Kotlin program to download the latest versions of AGP and Gradle.

License

Notifications You must be signed in to change notification settings

MCeley/gradle-versions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle Versions

Grabs the latest versions of Gradle and AGP and prints the versions to the console.

./gradlew run

Can optionally specify an output directory to write the versions out as JSON.

./gradlew run --args="--out=/path/to/output/dir"

Sample terminal output:

Gradle Versions
Current: 7.4.2
Release Candidate: 7.5-rc-3
Release Nightly: 7.5-20220628061702+0000
Nightly: 7.6-20220628221912+0000
 
AGP Versions
Stable: 7.2.1
Release Candidate: None
Beta: 7.3.0-beta04
Alpha: 7.4.0-alpha07

Sample JSON output:

{
  "gradle": {
    "current": {
      "version": "7.4.2",
      "downloadUrl": "https://services.gradle.org/distributions/gradle-7.4.2-bin.zip"
    },
    "releaseCandidate": {
      "version": "7.5-rc-1",
      "downloadUrl": "https://services.gradle.org/distributions/gradle-7.5-rc-1-bin.zip"
    },
    "nightly": {
      "version": "7.6-20220605220253+0000",
      "downloadUrl": "https://services.gradle.org/distributions-snapshots/gradle-7.6-20220605220253+0000-bin.zip"
    },
    "releaseNightly": {
      "version": "7.5-20220604003603+0000",
      "downloadUrl": "https://services.gradle.org/distributions-snapshots/gradle-7.5-20220604003603+0000-bin.zip"
    }
  },
  "agp": {
    "stable": "7.2.1",
    "releaseCandidate": "7.3.0-rc01 (not a real version)",
    "beta": "7.3.0-beta01",
    "alpha": "7.4.0-alpha02"
  }
}

About

Kotlin program to download the latest versions of AGP and Gradle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages