-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using gradle for Jars #10
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10 +/- ##
=======================================
Coverage 78.57% 78.57%
=======================================
Files 1 1
Lines 28 28
=======================================
Hits 22 22
Misses 6 6 ☔ View full report in Codecov by Sentry. |
Dockerfile
Outdated
# Install Gradle | ||
ENV GRADLE_VERSION=8.7 | ||
RUN curl -L https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip -o gradle-bin.zip \ | ||
&& unzip gradle-bin.zip -d /opt \ | ||
&& rm gradle-bin.zip \ | ||
&& ln -s /opt/gradle-${GRADLE_VERSION}/bin/gradle /usr/bin/gradle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should gradle init
the repo and then use the gradle wrapper file here to install the jars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check out any of the java services for examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run gradle init locally? or with dockerfile? I just need to download the jars not turning this to a java project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run gradle init in the repo locally, that'll set up gradle correctly with a wrapper file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're using the wrapper you don't need to install gradle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.