File tree 4 files changed +25
-23
lines changed
4 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 35
35
fetch-depth : 0
36
36
37
37
- name : Set up JDK
38
- uses : actions/setup-java@v1
39
- with :
40
- java-version : 14
38
+ uses : actions/setup-java@v2
39
+ with :
40
+ distribution : ' temurin'
41
+ java-version : ' 11'
42
+ cache : ' gradle'
41
43
42
44
- uses : burrunan/gradle-cache-action@v1
43
45
name : detekt
62
64
fetch-depth : 0
63
65
64
66
- name : Set up JDK
65
- uses : actions/setup-java@v1
66
- with :
67
- java-version : 14
67
+ uses : actions/setup-java@v2
68
+ with :
69
+ distribution : ' temurin'
70
+ java-version : ' 11'
71
+ cache : ' gradle'
68
72
69
73
# formats all src files
70
74
- uses : burrunan/gradle-cache-action@v1
@@ -147,9 +151,11 @@ jobs:
147
151
fetch-depth : 0
148
152
149
153
- name : Set up JDK
150
- uses : actions/setup-java@v1
151
- with :
152
- java-version : 14
154
+ uses : actions/setup-java@v2
155
+ with :
156
+ distribution : ' temurin'
157
+ java-version : ' 11'
158
+ cache : ' gradle'
153
159
154
160
- uses : burrunan/gradle-cache-action@v1
155
161
name : all tests
@@ -193,9 +199,11 @@ jobs:
193
199
fetch-depth : 0
194
200
195
201
- name : Set up JDK
196
- uses : actions/setup-java@v1
197
- with :
198
- java-version : 14
202
+ uses : actions/setup-java@v2
203
+ with :
204
+ distribution : ' temurin'
205
+ java-version : ' 11'
206
+ cache : ' gradle'
199
207
200
208
- uses : burrunan/gradle-cache-action@v1
201
209
name : all tests
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109
109
uses : actions/setup-java@v2
110
110
with :
111
111
distribution : ' temurin'
112
- java-version : ' 14 '
112
+ java-version : ' 11 '
113
113
114
114
# performs tree-shaking on the Gradle dependency graph
115
115
- name : modulecheck
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ sidebar_label: Configuration
4
4
---
5
5
6
6
7
- ``` kotlin
7
+ ``` kotlin title="root/build.gradle.kts"
8
8
plugins {
9
9
id(" com.rickbusarow.module-check" ) version " 0.11.2"
10
10
}
Original file line number Diff line number Diff line change @@ -111,9 +111,7 @@ values={[
111
111
112
112
<TabItem value = " Kotlin" >
113
113
114
- ``` kotlin
115
- // top-level build.gradle.kts
116
-
114
+ ``` kotlin title="root/build.gradle.kts"
117
115
configure< com.rickbusarow.modulecheck.ModuleCheckExtension > {
118
116
119
117
alwaysIgnore.set(setOf (" :app" ))
@@ -126,9 +124,7 @@ configure<com.rickbusarow.modulecheck.ModuleCheckExtension> {
126
124
127
125
--or--
128
126
129
- ``` kotlin
130
- // top-level build.gradle.kts
131
-
127
+ ``` kotlin title="root/build.gradle.kts"
132
128
moduleCheck {
133
129
134
130
alwaysIgnore.set(setOf (" :app" ))
@@ -144,9 +140,7 @@ moduleCheck {
144
140
145
141
<TabItem value = " Groovy" >
146
142
147
- ``` groovy
148
- // top-level build.gradle
149
-
143
+ ``` groovy title="root/build.gradle"
150
144
moduleCheck {
151
145
152
146
alwaysIgnore.set(setOf(":app"))
You can’t perform that action at this time.
0 commit comments