Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
airsquared committed Oct 24, 2023
1 parent 84307bd commit 7974129
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ class SuggestedModulesBuilder {

Set<String> getProjectModules() {
Set<String> modules = []
LOGGER.info("Retrieving project modules for configuration $configuration.name")
try {
LOGGER.info("Retrieving project modules for configuration $configuration.name")
} catch (IncompatibleClassChangeError e) {
// no idea why this error shows up in test JlinkPluginSpec."should create runtime image of project #projectDir with Gradle #gradleVersion"
LOGGER.info("Retrieving project modules for configuration $configuration")
}
for(ResolvedDependency dep: configuration.resolvedConfiguration.firstLevelModuleDependencies) {
def f = Util.getArtifact(dep)
modules.addAll(getModulesRequiredBy(f))
Expand Down

0 comments on commit 7974129

Please sign in to comment.