mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 13:05:27 -05:00
Merge 1.7, part 3
This commit is contained in:
@@ -206,9 +206,9 @@ public abstract class RemapTaskConfiguration implements Runnable {
|
||||
getArtifacts().add(JavaPlugin.SOURCES_ELEMENTS_CONFIGURATION_NAME, remapSourcesTask.map(AbstractArchiveTask::getArchiveFile), artifact -> {
|
||||
artifact.setClassifier("sources");
|
||||
});
|
||||
} else {
|
||||
} else if (canRemap) {
|
||||
// Sources jar may not have been created with withSourcesJar
|
||||
getProject().getLogger().warn("Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.");
|
||||
getProject().getLogger().warn("Not publishing sources jar as it was not created by the java plugin. Use java.withSourcesJar() to fix.");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user