Skip to content

Commit d9a4f0c

Browse files
committed
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>
1 parent ec8ac3f commit d9a4f0c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ java {
2222
}
2323
}
2424

25+
kotlin {
26+
compilerOptions {
27+
freeCompilerArgs.addAll(
28+
"-Xannotation-default-target=param-property"
29+
)
30+
}
31+
}
32+
2533
android {
2634
compileSdk = 36
2735
namespace = "org.schabi.newpipe"

0 commit comments

Comments
 (0)