mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-15 05:11:09 +00:00
suppress unused variable warnings for dependency configs
This commit is contained in:
@@ -19,10 +19,14 @@ fun Project.configureDependencies() {
|
|||||||
val compileOnly by configurations.getting
|
val compileOnly by configurations.getting
|
||||||
|
|
||||||
val shaded by configurations.creating
|
val shaded by configurations.creating
|
||||||
|
|
||||||
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val shadedApi by configurations.creating {
|
val shadedApi by configurations.creating {
|
||||||
shaded.extendsFrom(this)
|
shaded.extendsFrom(this)
|
||||||
api.extendsFrom(this)
|
api.extendsFrom(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val shadedImplementation by configurations.creating {
|
val shadedImplementation by configurations.creating {
|
||||||
shaded.extendsFrom(this)
|
shaded.extendsFrom(this)
|
||||||
implementation.extendsFrom(this)
|
implementation.extendsFrom(this)
|
||||||
|
|||||||
Reference in New Issue
Block a user