Skip to content

Bind max test Gradle version to current Gradle#1058

Open
Will-thom wants to merge 1 commit into
JLLeitschuh:mainfrom
Will-thom:bind-max-test-gradle-version
Open

Bind max test Gradle version to current Gradle#1058
Will-thom wants to merge 1 commit into
JLLeitschuh:mainfrom
Will-thom:bind-max-test-gradle-version

Conversation

@Will-thom
Copy link
Copy Markdown

Summary

  • use GradleVersion.current() for the test DSL max supported Gradle version
  • add a focused unit test for the TestVersions max Gradle version

Fixes #556.

Test

  • ./gradlew.bat --no-daemon --console=plain --max-workers=1 :plugin:compileKotlin
  • ./gradlew.bat --no-daemon --console=plain --max-workers=1 :plugin:compileTestKotlin
  • ./gradlew.bat --no-daemon --console=plain --max-workers=1 :plugin:test --tests org.jlleitschuh.gradle.ktlint.testdsl.TestVersionsTest

@JLLeitschuh
Copy link
Copy Markdown
Owner

We do cross jdk version testing. I'm not certain what this will break. I'm running the tests to see

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.

Bind the max test version to GradleVersion.current()

2 participants