File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2
- import com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer
3
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
4
3
5
4
val ktorVersion = " 2.1.3"
@@ -48,6 +47,8 @@ plugins {
48
47
kotlin(" jvm" ) version " 1.9.20"
49
48
id(" com.github.johnrengelman.shadow" ) version " 7.0.0"
50
49
id(" com.expediagroup.graphql" ) version " 4.0.0" apply false
50
+ id(" org.jlleitschuh.gradle.ktlint" ) version " 9.3.0"
51
+ id(" org.jlleitschuh.gradle.ktlint-idea" ) version " 9.3.0"
51
52
id(" com.github.ben-manes.versions" ) version " 0.29.0"
52
53
id(" org.hidetake.swagger.generator" ) version " 2.18.2" apply true
53
54
id(" org.jetbrains.kotlin.plugin.serialization" ) version " 1.7.10"
@@ -236,3 +237,11 @@ tasks {
236
237
}
237
238
238
239
}
240
+
241
+ ktlint {
242
+ disabledRules.set(setOf (" no-wildcard-imports" ))
243
+ filter {
244
+ exclude(" **/generated/**" )
245
+ include(" **/kotlin/**" )
246
+ }
247
+ }
You can’t perform that action at this time.
0 commit comments