Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wtnabe/example-simple-gradle-and-java
https://github.com/wtnabe/example-simple-gradle-and-java
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wtnabe/example-simple-gradle-and-java
- Owner: wtnabe
- License: bsd-2-clause
- Created: 2023-12-23T15:14:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-31T22:51:03.000Z (12 months ago)
- Last Synced: 2024-01-31T23:39:47.332Z (12 months ago)
- Language: Java
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Dead Simple Gradle and Java Project example
What I did.
1. Install gradle somehow ( ex: Homebrew )
2. gradle init
3. write code
4. java src/main/java/Hello.java
5. ./gradlew build
6. java -jar build/libs/example-dead-simple-java.jar
7. pack build \ -D hello -B gcr.io/buildpacks/builder:google-22
8. docker run --rm hello
9. docker tag && docker push
10. gcloud run jobs deploy \ --image \
11. gcloud run jobs execute \