File tree Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ kotlin {
29
29
30
30
lint {
31
31
baseline = file(" lint-baseline.xml" )
32
+ ignoreTestSources = true
33
+ warningsAsErrors = true
32
34
}
33
35
34
36
spotless {
@@ -84,7 +86,6 @@ dependencies {
84
86
funcTestImplementation(libs.moshi.kotlin)
85
87
86
88
lintChecks(libs.androidx.gradlePluginLints)
87
- lintChecks(libs.assertk.lint)
88
89
}
89
90
90
91
val integrationTest by tasks.registering(Test ::class ) {
@@ -131,14 +132,6 @@ tasks.withType<Test>().configureEach {
131
132
)
132
133
}
133
134
134
- tasks.whenTaskAdded {
135
- if (name == " lintAnalyzeJvmTest" ) {
136
- // This task often fails on Windows CI devices.
137
- enabled = ! providers.systemProperty(" os.name" ).get().startsWith(" Windows" ) &&
138
- ! providers.environmentVariable(" CI" ).isPresent
139
- }
140
- }
141
-
142
135
tasks.clean {
143
136
val includedBuilds = gradle.includedBuilds
144
137
dependsOn(includedBuilds.map { it.task(path) })
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ jetbrains-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:2.0.0"
22
22
node = " com.github.node-gradle:gradle-node-plugin:7.1.0"
23
23
24
24
androidx-gradlePluginLints = " androidx.lint:lint-gradle:1.0.0-alpha03"
25
- assertk-lint = " com.jzbrooks:assertk-lint:1.4.0"
26
25
# Dummy to get renovate updates, the version is used in rootProject build.gradle with spotless.
27
26
ktlint = " com.pinterest.ktlint:ktlint-cli:1.5.0"
28
27
Original file line number Diff line number Diff line change 107
107
errorLine2 =" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >
108
108
<location
109
109
file =" src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
110
- line =" 30 "
110
+ line =" 31 "
111
111
column =" 1" />
112
112
</issue >
113
113
118
118
errorLine2 =" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >
119
119
<location
120
120
file =" src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
121
- line =" 31 "
121
+ line =" 32 "
122
122
column =" 1" />
123
123
</issue >
124
124
129
129
errorLine2 =" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >
130
130
<location
131
131
file =" src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
132
- line =" 32 "
132
+ line =" 33 "
133
133
column =" 1" />
134
134
</issue >
135
135
140
140
errorLine2 =" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >
141
141
<location
142
142
file =" src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
143
- line =" 33 "
143
+ line =" 34 "
144
144
column =" 1" />
145
145
</issue >
146
146
You can’t perform that action at this time.
0 commit comments