Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user feature install fails with Gradle 7 #667

Closed
jjiwooLim opened this issue Dec 7, 2021 · 1 comment · Fixed by #691
Closed

user feature install fails with Gradle 7 #667

jjiwooLim opened this issue Dec 7, 2021 · 1 comment · Fixed by #691

Comments

@jjiwooLim
Copy link
Contributor

Running gradle installFeature to install user feature fails on Gradle 7.

Related Gradle issue:
gradle/gradle#13122

Problem happens when we recompile Gradle using the ProjectBuilder API to fetch new features.json artifact (generated by prepareFeature) from the Mavenlocal repo.

==Error log & stack trace==

  • What went wrong:
    Execution failed for task ':installFeature'.

The settings are not yet available for build 'regFeature'.
...
Caused by: java.lang.IllegalStateException: The settings are not yet available for build 'regFeature'.
at org.gradle.invocation.DefaultGradle.getSettings(DefaultGradle.java:207)
at org.gradle.invocation.DefaultGradle_Decorated.getSettings(Unknown Source)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.ignoresSettingsRepositories(DefaultConfiguration.java:756)

@cherylking
Copy link
Member

@jjiwooLim Any outlook on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants