Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mfilippov/gradle-jvm-wrapper
This plugin allows the use of Gradle wrapper on the machine without JVM.
https://github.com/mfilippov/gradle-jvm-wrapper
gradle hacktoberfest jvm
Last synced: 2 months ago
JSON representation
This plugin allows the use of Gradle wrapper on the machine without JVM.
- Host: GitHub
- URL: https://github.com/mfilippov/gradle-jvm-wrapper
- Owner: mfilippov
- License: apache-2.0
- Created: 2019-10-01T09:33:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T04:06:39.000Z (3 months ago)
- Last Synced: 2024-10-04T12:57:53.737Z (3 months ago)
- Topics: gradle, hacktoberfest, jvm
- Language: Kotlin
- Homepage: https://plugins.gradle.org/plugin/me.filippov.gradle.jvm.wrapper
- Size: 164 KB
- Stars: 26
- Watchers: 5
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gradle JVM Wrapper plugin
To use it, you need to add the plugin to your Gradle file.Groovy edition:
```groovy
plugins {
id "me.filippov.gradle.jvm.wrapper" version "0.14.0"
}
```
Kotlin edition:
```kotlin
plugins {
id("me.filippov.gradle.jvm.wrapper") version "0.14.0"
}
```
After that you should call `wrapper` Gradle task to setup a wrapper and update the command-line scripts.
By default the plugin uses Amazon Coretto 11. You can configure it for your JVM distribution:Groovy edition:
```groovy
plugins {
id "me.filippov.gradle.jvm.wrapper" version "0.14.0"
}jvmWrapper {
jvmInstallDir = "/my-custom-path/gradle-jvm"
linuxAarch64JvmUrl = "https://corretto.aws/downloads/resources/11.0.9.12.1/amazon-corretto-11.0.9.12.1-linux-aarch64.tar.gz"
linuxX64JvmUrl = "https://corretto.aws/downloads/latest/amazon-corretto-11-x64-linux-jdk.tar.gz"
macAarch64JvmUrl = "https://cdn.azul.com/zulu/bin/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64.tar.gz"
macX64JvmUrl = "https://corretto.aws/downloads/latest/amazon-corretto-11-x64-macos-jdk.tar.gz"
windowsX64JvmUrl = "https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.zip"
}
```
Kotlin edition:
```kotlin
plugins {
id("me.filippov.gradle.jvm.wrapper") version "0.14.0"
}jvmWrapper {
jvmInstallDir = "/my-custom-path/gradle-jvm"
linuxAarch64JvmUrl = "https://corretto.aws/downloads/resources/11.0.9.12.1/amazon-corretto-11.0.9.12.1-linux-aarch64.tar.gz"
linuxX64JvmUrl = "https://corretto.aws/downloads/latest/amazon-corretto-11-x64-linux-jdk.tar.gz"
macAarch64JvmUrl = "https://cdn.azul.com/zulu/bin/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64.tar.gz"
macX64JvmUrl = "https://corretto.aws/downloads/latest/amazon-corretto-11-x64-macos-jdk.tar.gz"
windowsX64JvmUrl = "https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.zip"
}
```