-
Notifications
You must be signed in to change notification settings - Fork 5k
De-incubate all APIs pre Gradle 3.0 #7229
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
Conversation
It did only depend on the location of the files but not the actual contents.
So that the incubation report task detects the version correctly.
34e65b3
to
6d4ca09
Compare
That brings down usages of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't promote any of the software model types, or any of the native types. I started adding comments but gave up as there are many such types in this PR.
subprojects/core/src/main/java/org/gradle/deployment/internal/DeploymentRegistry.java
Outdated
Show resolved
Hide resolved
/** | ||
* Displays some details about the software components produced by the project. | ||
*/ | ||
@Incubating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't promote software model types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not promoting software model types any more.
* Displays some details about the configuration model of the project. | ||
* An instance of this type is used when you execute the {@code model} task from the command-line. | ||
*/ | ||
@Incubating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
software model
* | ||
* <p>NOTE: This currently supports configuring the 'idea' plugin only.</p> | ||
*/ | ||
@Incubating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I probably wouldn't promote the play stuff yet, as it depends on the software model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not promoting play any more.
/** | ||
* A set of sources passed to the Java compiler. | ||
*/ | ||
@Incubating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
software model
/** | ||
* A set of resource files. | ||
*/ | ||
@Incubating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
software model
* Plugin for packaging JVM resources. Applies the {@link org.gradle.language.base.plugins.ComponentModelBasePlugin}. Registers "resources" language support with the {@link | ||
* org.gradle.language.jvm.JvmResourceSet}. | ||
*/ | ||
@Incubating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
software model
This has been around since 2013.
This is an internal API
Some of those are part of the software model, but we still use it in the current model tasks.
6d4ca09
to
a5932e2
Compare
Diff of incubating report before and after the PR as it is now: https://gist.github.com/lptr/be9438bf3684eb8f3bdce2af3401e815 |
subprojects/testing-jvm/src/main/java/org/gradle/jvm/plugins/JUnitTestSuitePlugin.java
Show resolved
Hide resolved
...in/kotlin/org/gradle/gradlebuild/buildquality/incubation/IncubatingApiAggregateReportTask.kt
Show resolved
Hide resolved
subprojects/language-jvm/src/main/java/org/gradle/language/jvm/JvmResourceSet.java
Show resolved
Hide resolved
subprojects/platform-jvm/src/main/java/org/gradle/jvm/toolchain/JavaToolChain.java
Show resolved
Hide resolved
...jects/language-scala/src/main/java/org/gradle/language/scala/tasks/AbstractScalaCompile.java
Show resolved
Hide resolved
subprojects/core/src/main/java/org/gradle/deployment/internal/DeploymentRegistry.java
Outdated
Show resolved
Hide resolved
...iagnostics/src/main/java/org/gradle/api/reporting/dependencies/HtmlDependencyReportTask.java
Outdated
Show resolved
Hide resolved
@lptr PTAL. |
I see |
That is a software model plugin.
@lptr See #7229 (comment) |
That link doesn't do anything. :o |
Found it. LGTM. |
Wait, |
That is a software model report.
Fixed. |
Without anything from the software model.