Skip to content

Conversation

@ckilian867
Copy link
Collaborator

Upgrades Gradle from 6.8.3 to 7.6, requiring Java 11+ for building the plugin while maintaining Java 8 runtime compatibility for plugin users.

BREAKING CHANGES for contributors:

  • Java 11+ is now required to build OkBuck
  • Plugin output still targets Java 8 (no breaking changes for users)

Dependency upgrades:

  • Gradle: 6.8.3 → 7.6
  • Rocker plugin: 1.3.0 → 2.2.1 (fixes Gradle 7 compatibility)
  • gradle-maven-publish-plugin: 0.18.0 → 0.27.0

Build script modernization:

  • Replace deprecated Gradle configurations in all subprojects:
    • compile → implementation
    • testCompile → testImplementation
  • Remove MaxPermSize JVM arg (incompatible with Java 11+)
  • Add TLS 1.2/1.3 protocol support for dependency downloads

Documentation updates:

  • Add Java 11+ requirement to CONTRIBUTING.md and README.md
  • Add Development section to README.md with build instructions
  • Update CHANGELOG.md for version 0.54.6

Upgrade Gradle to 7.6 to allow for gradle-maven-publish-plugin to be updated to 0.27.0. This will be needed to support publishing to maven central, and helps modernize the code base

Related issue(s):

Upgrades Gradle from 6.8.3 to 7.6, requiring Java 11+ for building the
plugin while maintaining Java 8 runtime compatibility for plugin users.

BREAKING CHANGES for contributors:
- Java 11+ is now required to build OkBuck
- Plugin output still targets Java 8 (no breaking changes for users)

Dependency upgrades:
- Gradle: 6.8.3 → 7.6
- Rocker plugin: 1.3.0 → 2.2.1 (fixes Gradle 7 compatibility)
- gradle-maven-publish-plugin: 0.18.0 → 0.27.0

Build script modernization:
- Replace deprecated Gradle configurations in all subprojects:
  * compile → implementation
  * testCompile → testImplementation
- Remove MaxPermSize JVM arg (incompatible with Java 11+)
- Add TLS 1.2/1.3 protocol support for dependency downloads

Documentation updates:
- Add Java 11+ requirement to CONTRIBUTING.md and README.md
- Add Development section to README.md with build instructions
- Update CHANGELOG.md for version 0.54.6

dependencies {
compile deps.build.androidPluginApi
implementation deps.build.androidPluginApi
Copy link
Member

Choose a reason for hiding this comment

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

Do these all need to be impl, or can some be api? (impl is like exported dep)

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