-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove deprecated features in component variant
- Loading branch information
John Engelman
committed
Jun 16, 2020
1 parent
89d6e36
commit dd632ba
Showing
2 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We're going to make it easier to declare in a future Gradle version (see gradle/gradle#13395 which has a use case directly inspired by this).
In the mean time, you can set the
TargetJvmVersion
attribute to the java compile target version, which is an acceptable approximation, similarly to this:https://github.com/gradle/gradle/blob/2fb2b398c07b8960ceda36386fbee50231ba7a44/subprojects/plugins/src/main/java/org/gradle/api/plugins/internal/support/DefaultJvmEcosystemUtilities.java#L179