Skip to content

Commit a699a4b

Browse files
authored
Update Gradle metadata (#2619)
1 parent 2e7613b commit a699a4b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

gradle/README-short.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Gradle is a build tool with a focus on build automation and support for multi-language development.
1+
Gradle is a fast, reliable, and flexible open-source build tool with an elegant, extensible DSL.

gradle/content.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
# What is Gradle?
22

3-
[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.
3+
[Gradle](https://gradle.org/) is a fast, dependable, and adaptable open-source build automation tool with an elegant and extensible declarative build language.
44

55
%%LOGO%%
66

77
# How to use this image
88

9-
## Building a Gradle project
9+
## Run a Gradle task
1010

11-
Run this from the directory of the Gradle project you want to build.
11+
From your project directory:
1212

13-
`docker run --rm -u gradle -v "$PWD":/home/gradle/project -w /home/gradle/project %%IMAGE%% gradle <gradle-task>`
13+
```bash
14+
docker run --rm -u gradle \
15+
-v "$PWD":/home/gradle/project \
16+
-w /home/gradle/project \
17+
%%IMAGE%% gradle <task>
18+
```
1419

15-
Note the above command runs using uid/gid 1000 (user *gradle*) to avoid running as root.
16-
17-
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.
18-
19-
## Java 21 support
20-
21-
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.
20+
Replace `<task>` with your desired Gradle task, e.g., `build`.

gradle/get-help.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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)

gradle/logo.png

18.6 KB
Loading

gradle/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"hub": {
33
"categories": [
4-
"developer-tools"
4+
"languages-and-frameworks"
55
]
66
}
77
}

0 commit comments

Comments
 (0)