Silence warnings regarding new annotation property behavior
Ref: https://kotlinlang.org/docs/annotations.html#defaults-when-no-use-site-targets-are-specified Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
1f3d71f08e
commit
82674467f1
1 changed files with 9 additions and 0 deletions
|
|
@ -23,6 +23,15 @@ java {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
compilerOptions {
|
||||||
|
// TODO: Drop annotation default target when it is stable
|
||||||
|
freeCompilerArgs.addAll(
|
||||||
|
"-Xannotation-default-target=param-property"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk = 36
|
compileSdk = 36
|
||||||
namespace = "org.schabi.newpipe"
|
namespace = "org.schabi.newpipe"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue