Skip to content
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

Rewrite build script #5091

Merged
merged 20 commits into from
Jan 8, 2025
Merged

Conversation

RacoonDog
Copy link
Contributor

Overview

Rewrite build script to make use of Kotlin DSL

  • Clear up deprecation warnings
  • Update dependencies
  • Enable configuration cache
  • Selectively enable javadocs & sources jar creation

Javadoc & sources jars are now only created if the CI system property evaluates to true. This was done because it used to take up more than half of the build time despite being rarely used.

Credits

Copy link

@Kichura Kichura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed a few things.

.github/workflows/build.yml Show resolved Hide resolved
.github/workflows/build.yml Show resolved Hide resolved
.github/workflows/issue-moderator.yml Show resolved Hide resolved
@Kichura
Copy link

Kichura commented Jan 7, 2025

Also one more thing: DEFAULT_JVM_OPTS in the gradlew files must include -Dfile.encoding=UTF-8.

# Conflicts:
#	build.gradle
#	gradle.properties
#	gradle/wrapper/gradle-wrapper.properties
@MineGame159 MineGame159 marked this pull request as ready for review January 8, 2025 11:31
@RacoonDog
Copy link
Contributor Author

RacoonDog commented Jan 8, 2025

Also one more thing: DEFAULT_JVM_OPTS in the gradlew files must include -Dfile.encoding=UTF-8.

i looked into it and it seems like i can't change these without the changes being undone whenever we update the wrapper scripts through the gradle wrapper task
and the documentation for configuring the task within our build.gradle.kts doesn't seem to support changing these either

@MineGame159 MineGame159 merged commit 401d3b0 into MeteorDevelopment:master Jan 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants