[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-291) ShrinkWrap Resolver for Gradle is not compatible with Java 10.0.2
Thomas Schnell (JIRA)
issues at jboss.org
Tue Aug 28 15:55:00 EDT 2018
[ https://issues.jboss.org/browse/SHRINKRES-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Schnell updated SHRINKRES-291:
-------------------------------------
Description:
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:
{code:java}
ShrinkWrap.create(EmbeddedGradleImporter.class).forThisProjectDirectory().importBuildOutput().as(WebArchive.class);
{code}
I guess the used Gradle Tooling API in 3.1.3 is outdated, as you can see in [pom.xml|https://github.com/shrinkwrap/resolver/blob/master/pom.xml]. Also I would like to point out, that the Tooling API will be removed in [Gradle 5.0|https://docs.gradle.org/current/userguide/embedding.html#java_version].
The ShrinkWrap works fine with Java 8.
was:
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:
{code:java}
ShrinkWrap.create(EmbeddedGradleImporter.class).forThisProjectDirectory().importBuildOutput().as(WebArchive.class);
{code}
I guess the used Gradle Tooling API in 3.1.3 is outdated, as you can see in [pom.xml|https://github.com/shrinkwrap/resolver/blob/master/pom.xml]. Also I would like to point out, that the Tooling API will be removed in [Gradle 5.0|https://docs.gradle.org/current/userguide/embedding.html#java_version].
> ShrinkWrap Resolver for Gradle is not compatible with Java 10.0.2
> -----------------------------------------------------------------
>
> Key: SHRINKRES-291
> URL: https://issues.jboss.org/browse/SHRINKRES-291
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: api, gradle
> Affects Versions: 3.1.3
> Environment: - {{org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-gradle:3.1.3}}.
> - {{org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-gradle-depchain:3.1.3}}.
> - {{Java 10.0.2 2018-07-17}}.
> - {{Gradle 4.9}}.
> Reporter: Thomas Schnell
> Attachments: stacktrace.log
>
>
> 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:
> {code:java}
> ShrinkWrap.create(EmbeddedGradleImporter.class).forThisProjectDirectory().importBuildOutput().as(WebArchive.class);
> {code}
> I guess the used Gradle Tooling API in 3.1.3 is outdated, as you can see in [pom.xml|https://github.com/shrinkwrap/resolver/blob/master/pom.xml]. Also I would like to point out, that the Tooling API will be removed in [Gradle 5.0|https://docs.gradle.org/current/userguide/embedding.html#java_version].
> The ShrinkWrap works fine with Java 8.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the shrinkwrap-issues
mailing list