File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Update lint baselines
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 0 1 * *"
7+
8+ jobs :
9+ update-lint-baselines :
10+ uses : FossifyOrg/.github/.github/workflows/update-lint-baselines.yml@main
11+ secrets : inherit
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ keystore.jks
1010keystore.properties
1111fastlane /fastlane.json
1212fastlane /report.xml
13+ .kotlin /
Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23import org.jetbrains.kotlin.konan.properties.Properties
34import java.io.FileInputStream
@@ -99,16 +100,19 @@ android {
99100 }
100101
101102 tasks.withType<KotlinCompile > {
102- kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get()
103+ compilerOptions.jvmTarget.set(
104+ JvmTarget .fromTarget(project.libs.versions.app.build.kotlinJVMTarget.get())
105+ )
103106 }
104107
105108 namespace = project.property(" APP_ID" ).toString()
106109
107110 lint {
108111 checkReleaseBuilds = false
109112 abortOnError = true
110- warningsAsErrors = true
113+ warningsAsErrors = false
111114 baseline = file(" lint-baseline.xml" )
115+ lintConfig = rootProject.file(" lint.xml" )
112116 }
113117
114118 bundle {
You can’t perform that action at this time.
0 commit comments