Skip to content

Commit 1a1b31f

Browse files
committed
Revert production code change from #33
1 parent 2670557 commit 1a1b31f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/de/jjohannes/gradle/javamodules/ExtraModuleInfoPlugin.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,8 @@ private void configureTransform(Project project, ExtraModuleInfoPluginExtension
5959
m.getMergedJars().stream()).filter(s -> s.contains(":")).forEach(s ->
6060
d.add(project.getDependencies().create(s))));
6161

62-
// Automatically get versions from the compile and runtime classpath
62+
// Automatically get versions from the runtime classpath
6363
if (GradleVersion.current().compareTo(GradleVersion.version("6.8")) >= 0) {
64-
//noinspection UnstableApiUsage
65-
c.shouldResolveConsistentlyWith(project.getConfigurations().getByName(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME));
66-
6764
//noinspection UnstableApiUsage
6865
c.shouldResolveConsistentlyWith(project.getConfigurations().getByName(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME));
6966
}

0 commit comments

Comments
 (0)