Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 14
uses : actions/setup-java@v2
with :
distribution : 'temurin'
java-version : '11'
cache: 'gradle'

- uses: burrunan/gradle-cache-action@v1
name: detekt
Expand All @@ -62,9 +64,11 @@ jobs:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 14
uses : actions/setup-java@v2
with :
distribution : 'temurin'
java-version : '11'
cache: 'gradle'

# formats all src files
- uses: burrunan/gradle-cache-action@v1
Expand Down Expand Up @@ -147,9 +151,11 @@ jobs:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 14
uses : actions/setup-java@v2
with :
distribution : 'temurin'
java-version : '11'
cache: 'gradle'

- uses: burrunan/gradle-cache-action@v1
name: all tests
Expand Down Expand Up @@ -193,9 +199,11 @@ jobs:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 14
uses : actions/setup-java@v2
with :
distribution : 'temurin'
java-version : '11'
cache: 'gradle'

- uses: burrunan/gradle-cache-action@v1
name: all tests
Expand Down
2 changes: 1 addition & 1 deletion website/docs/ci_workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
uses : actions/setup-java@v2
with :
distribution : 'temurin'
java-version : '14'
java-version : '11'

# performs tree-shaking on the Gradle dependency graph
- name: modulecheck
Expand Down
2 changes: 1 addition & 1 deletion website/docs/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Configuration
---


``` kotlin
``` kotlin title="root/build.gradle.kts"
plugins {
id("com.rickbusarow.module-check") version "0.11.2"
}
Expand Down
12 changes: 3 additions & 9 deletions website/docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ values={[

<TabItem value="Kotlin">

```kotlin
// top-level build.gradle.kts

```kotlin title="root/build.gradle.kts"
configure<com.rickbusarow.modulecheck.ModuleCheckExtension> {

alwaysIgnore.set(setOf(":app"))
Expand All @@ -126,9 +124,7 @@ configure<com.rickbusarow.modulecheck.ModuleCheckExtension> {

--or--

```kotlin
// top-level build.gradle.kts

```kotlin title="root/build.gradle.kts"
moduleCheck {

alwaysIgnore.set(setOf(":app"))
Expand All @@ -144,9 +140,7 @@ moduleCheck {

<TabItem value="Groovy">

```groovy
// top-level build.gradle

```groovy title="root/build.gradle"
moduleCheck {

alwaysIgnore.set(setOf(":app"))
Expand Down