1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-01-21 10:29:54 +00:00

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:
Aayush Gupta
2025-11-05 12:48:08 +08:00
parent b06b7c35ca
commit 0131bb227f

View File

@@ -23,6 +23,15 @@ java {
}
}
kotlin {
compilerOptions {
// TODO: Drop annotation default target when it is stable
freeCompilerArgs.addAll(
"-Xannotation-default-target=param-property"
)
}
}
android {
compileSdk = 36
namespace = "org.schabi.newpipe"