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

Gradle build refactoring and version upgrade (6 to 8) 🚀🚀 #129

Closed

Conversation

dejan2609
Copy link
Contributor

@dejan2609 dejan2609 commented Jan 1, 2024

details:

  • gradle: 6.8.2 -->> 8.6
  • gradle 'launch4j' plugin: 2.4.9 -->> 3.0.5
  • gradle 'shadow' plugin is introduced (but gradle build is simplified)
  • gradle configurations are changed:
    ** 'compile' is replaced with 'implementation'
    ** 'testCompile' is replaced with 'testImplementation'

related links:

details:
   * gradle version upgrade: 6.8.2 -->> 8.10.2
   * 'launch4j' plugin upgrade: 2.4.9 -->> 3.0.6
   * 'shadow' plugin is introduced (in order to replace 'fatJar' task and to simplify gradle build): https://github.com/GradleUp/shadow
   * dependencies configurations are changed (note that dependencies versions are left intact):
      ** 'compile' is replaced with 'implementation'
      ** 'testCompile' is replaced with 'testImplementation'
   * 'sourceCompatibility' removed in favor of 'toolchain'
   * Java project compatibility version is bumped from 7 to 8 (note: Gradle build JDK required version is >=8, i.e. 8, 11, 17, 21, etc.)
   * checksum verification for Gradle distribution is added (using 'distributionSha256Sum' property in 'gradle-wrapper.properties')

related links:
  * https://docs.gradle.org/8.10.2/userguide/upgrading_version_6.html#sec:configuration_removal
  * https://docs.gradle.org/8.10.2/userguide/upgrading_version_7.html#wrapper_task_configuration
  * https://docs.gradle.org/8.10.2/userguide/upgrading_version_8.html#java_convention_deprecation
  * https://docs.gradle.org/8.10.2/userguide/gradle_wrapper.html#configuring_checksum_verification
  * https://docs.gradle.org/8.10.2/userguide/toolchains.html
  * https://docs.gradle.org/8.10.2/dsl/org.gradle.api.plugins.JavaPluginExtension.html#org.gradle.api.plugins.JavaPluginExtension:toolchain
@dejan2609 dejan2609 force-pushed the Gradle-version-upgrade-6-to-8 branch from e8e85bc to abc89fe Compare September 29, 2024 08:44
@dejan2609
Copy link
Contributor Author

dejan2609 commented Sep 29, 2024

Closed in favor of #130

@dejan2609 dejan2609 closed this Sep 29, 2024
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.

1 participant