swiftlang / swift-java

Apache License 2.0
724 stars 27 forks source link

Java2Swift: Tools version prior to 6.0 breaks Java2Swift in difficult to diagnose ways #149

Open lhoward opened 2 weeks ago

lhoward commented 2 weeks ago

It appears that if Package.swift does not have swift-tools-version:6.0, pluginGeneratedResources are not propagated from JavaCompilerPlugin to Java2Swift.

Save identifying the underlying issue, the plugin should error if a pre-6.0 tools version is found. Or at least a note in the README.

More info: https://forums.swift.org/t/diagnosing-java2swift-issues/75743/8