File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ buildscript {
1515 }
1616}
1717
18- plugins {
19- id " org.jlleitschuh.gradle.ktlint" version " 14.0.1"
20- }
21-
2218apply plugin : " com.android.library"
2319apply plugin : " kotlin-android"
2420apply plugin : " com.facebook.react"
@@ -94,20 +90,6 @@ dependencies {
9490 }
9591}
9692
97- ktlint {
98- version = " 1.8.0"
99- debug = false
100- verbose = true
101- android = true
102- outputToConsole = true
103- ignoreFailures = false
104- enableExperimentalRules = false
105- filter {
106- exclude(" **/build/**" )
107- exclude(" **/generated/**" )
108- }
109- }
110-
11193react {
11294 jsRootDir = file(" ../src/" )
11395 libraryName = " EnrichedMarkdownText"
Original file line number Diff line number Diff line change @@ -18,4 +18,27 @@ buildscript {
1818 }
1919}
2020
21+ plugins {
22+ id " org.jlleitschuh.gradle.ktlint" version " 14.0.1" apply false
23+ }
24+
2125apply plugin : " com.facebook.react.rootproject"
26+
27+ subprojects { subproject ->
28+ if (subproject. name == " react-native-enriched-markdown" ) {
29+ subproject. apply plugin : " org.jlleitschuh.gradle.ktlint"
30+ subproject. ktlint {
31+ version = " 1.8.0"
32+ debug = false
33+ verbose = true
34+ android = true
35+ outputToConsole = true
36+ ignoreFailures = false
37+ enableExperimentalRules = false
38+ filter {
39+ exclude(" **/build/**" )
40+ exclude(" **/generated/**" )
41+ }
42+ }
43+ }
44+ }
You can’t perform that action at this time.
0 commit comments