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

Polish tests #65

Merged
merged 20 commits into from
Oct 23, 2023
Merged

Polish tests #65

merged 20 commits into from
Oct 23, 2023

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Aug 2, 2023

Follow up #63.

  • Add changelog.
  • Support JApicmp 0.17.3.
  • Polish JDK test matrix, and add Java 20 into test matrix.
  • Migrate deprecated buildDir usages.
  • Bump min Gradle to 6.6.
  • Enable CC in all tests, Gradle intro configuration cache in 6.6, we are now on it. But I also notified some CC compatibility issues left in c398274, todo it.

@Goooler Goooler changed the title Update CHANGELOG for 0.4.2 Things Sep 2, 2023
@Goooler Goooler changed the title Things Minor things Sep 2, 2023
* Update dependency com.github.siom79.japicmp:japicmp to v0.17.3

* Polish IncompatibleChangeExclusionTest

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
Comment on lines -19 to -33
task japicmpDetectsNewDefaultMethodByDefault(type: me.champeau.gradle.japicmp.JapicmpTask) {
oldClasspath.from(jar)
newClasspath.from(jarv2)
failOnModification = true
failOnSourceIncompatibility = true
}

task configuredToIgnoreNewDefaultMethod(type: me.champeau.gradle.japicmp.JapicmpTask) {
oldClasspath.from(jar)
newClasspath.from(jarv2)
failOnModification = true
failOnSourceIncompatibility = true
compatibilityChangeExcludes = [ "METHOD_NEW_DEFAULT" ]
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

private final static GradleVersion GRADLE_MIN = GradleVersion.version("6.0");
private final static GradleVersion GRADLE_MIN = GradleVersion.version("6.6");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some APIs like Provider.zip depend on Gradle 6.6.

public Provider<RegularFile> getOutputFile() {
return getDestinationDir().zip(getReportName(), Directory::file);
}

@Goooler Goooler changed the title Minor things Polish tests Sep 2, 2023
@Goooler Goooler force-pushed the master branch 2 times, most recently from 3d8c880 to bf6bee3 Compare September 14, 2023 05:18
@melix melix merged commit ac3db89 into melix:master Oct 23, 2023
9 checks passed
@melix
Copy link
Owner

melix commented Oct 23, 2023

Thanks for the update!

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.

None yet

2 participants