diff --git a/gradle/README-short.txt b/gradle/README-short.txt index 906defe3ade1..1326f0870772 100644 --- a/gradle/README-short.txt +++ b/gradle/README-short.txt @@ -1 +1 @@ -Gradle is a build tool with a focus on build automation and support for multi-language development. +Gradle is a fast, reliable, and flexible open-source build tool with an elegant, extensible DSL. \ No newline at end of file diff --git a/gradle/content.md b/gradle/content.md index 14edc0e23c96..9438d5e1448f 100644 --- a/gradle/content.md +++ b/gradle/content.md @@ -1,21 +1,20 @@ # What is Gradle? -[Gradle](https://gradle.org/) is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. +[Gradle](https://gradle.org/) is a fast, dependable, and adaptable open-source build automation tool with an elegant and extensible declarative build language. %%LOGO%% # How to use this image -## Building a Gradle project +## Run a Gradle task -Run this from the directory of the Gradle project you want to build. +From your project directory: -`docker run --rm -u gradle -v "$PWD":/home/gradle/project -w /home/gradle/project %%IMAGE%% gradle ` +```bash +docker run --rm -u gradle \ + -v "$PWD":/home/gradle/project \ + -w /home/gradle/project \ + %%IMAGE%% gradle +``` -Note the above command runs using uid/gid 1000 (user *gradle*) to avoid running as root. - -If you are mounting a volume and the uid/gid running Docker is not *1000*, you should run as user *root* (`-u root`). *root* is also the default, so you can also simply not specify a user. - -## Java 21 support - -Java 21 does not currently support build customizations using Kotlin (such as using the `kotlin-dsl` plugin in a buildSrc script). Full support for Java 21 will come in a future Gradle release. +Replace `` with your desired Gradle task, e.g., `build`. diff --git a/gradle/get-help.md b/gradle/get-help.md new file mode 100644 index 000000000000..dc338894215d --- /dev/null +++ b/gradle/get-help.md @@ -0,0 +1 @@ +[Gradle Community Slack](https://gradle.org/slack-invite), [Gradle Community Forum](https://discuss.gradle.org), [Docker Community Slack](https://dockr.ly/comm-slack)⁠, [Server Fault](https://serverfault.com/help/on-topic)⁠, [Unix & Linux](https://unix.stackexchange.com/help/on-topic)⁠, [Stack Overflow⁠](https://stackoverflow.com/help/on-topic) diff --git a/gradle/logo.png b/gradle/logo.png index 447fda8cf6f9..022a09d95a10 100644 Binary files a/gradle/logo.png and b/gradle/logo.png differ diff --git a/gradle/metadata.json b/gradle/metadata.json index 67e782480585..39ac749c7f11 100644 --- a/gradle/metadata.json +++ b/gradle/metadata.json @@ -1,7 +1,7 @@ { "hub": { "categories": [ - "developer-tools" + "languages-and-frameworks" ] } }