Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-291

ShrinkWrap Resolver for Gradle is not compatible with Java 10.0.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 3.1.3
    • api, gradle
    • None

      I'm trying to use the ShrinkWrap Resolver for Gradle with Java 10.0.2 and Gradle 4.9. Unfortunately, I get following error: Could not determine java version from '10.0.2'. as soon as I call:

      ShrinkWrap.create(EmbeddedGradleImporter.class).forThisProjectDirectory().importBuildOutput().as(WebArchive.class);
      

      I guess the used Gradle Tooling API in 3.1.3 is outdated, as you can see in pom.xml. Also I would like to point out, that the Tooling API will be removed in Gradle 5.0.

      The ShrinkWrap works fine with Java 8.

              pberan@redhat.com Petr Beran
              tschnell_ Thomas Schnell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: