Skip to content

Commit bcb4841

Browse files
committed
fix: spotless check
1 parent fcf905e commit bcb4841

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ defaults:
3030

3131
jobs:
3232
build:
33-
name: Gradle Build
33+
name: 🏗️ Gradle Build
3434
timeout-minutes: 15
3535
continue-on-error: false
3636
# if: github.event_name == 'pull_request'
@@ -60,13 +60,13 @@ jobs:
6060
with:
6161
fetch-depth: 100
6262

63-
- name: Download ${{ matrix.os }} OpenJDK ${{ matrix.jdk }}
63+
- name: ⬇️ Download ${{ matrix.os }} OpenJDK ${{ matrix.jdk }}
6464
id: download-jdk
6565
uses: sormuras/download-jdk@v1
6666
with:
6767
feature: ${{ matrix.jdk }}
6868

69-
- name: Set up OpenJDK ${{ matrix.jdk }}
69+
- name: Set up OpenJDK ${{ matrix.jdk }}
7070
id: setup-java
7171
uses: actions/setup-java@v2
7272
if: always() && steps.download-jdk.outcome == 'success'
@@ -75,7 +75,7 @@ jobs:
7575
java-version: ${{ env.JDK_VERSION }}
7676
jdkFile: ${{ env.JDK_FILE }}
7777

78-
- name: Cache Gradle dependencies
78+
- name: 🗃️ Cache Gradle dependencies
7979
uses: actions/cache@v2
8080
with:
8181
path: |
@@ -85,7 +85,7 @@ jobs:
8585
restore-keys: |
8686
${{ runner.os }}-gradle-
8787
88-
- name: Export Gradle Properties
88+
- name: 🧰 Export Gradle Properties
8989
id: gradle-properties
9090
run: |
9191
PROPERTIES="$(./gradlew properties --console=plain -q)"
@@ -105,11 +105,11 @@ jobs:
105105
GITHUB_USER: ${{ github.repository_owner }}
106106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
107107

108-
- name: 🔧 Gradle Run & Build
108+
- name: 🏗️ Gradle Run & Build
109109
id: gradle-build
110110
run: ./gradlew run build dokkaHtml
111111

112-
- name: Uploading ${{ matrix.os }} uber jar
112+
- name: 📤 Uploading ${{ matrix.os }} uber jar
113113
if: steps.gradle-build.outcome == 'success' && runner.os == 'Linux'
114114
uses: actions/upload-artifact@v2
115115
with:
@@ -129,7 +129,7 @@ jobs:
129129
CLEAN: true
130130

131131
release:
132-
name: Release new version.
132+
name: 🚰 Release new version.
133133
needs: [ build ]
134134
if: startsWith(github.ref, 'refs/tags/')
135135
runs-on: ubuntu-latest

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import gg.jte.*
2-
import java.net.*
3-
import java.nio.file.Path
42
import org.gradle.api.tasks.testing.logging.*
53
import org.gradle.internal.os.OperatingSystem
64
import org.jetbrains.dokka.gradle.*
75
import org.jetbrains.kotlin.config.*
86
import org.jetbrains.kotlin.gradle.tasks.*
7+
import java.net.*
8+
import java.nio.file.Path
99

1010
plugins {
1111
idea
@@ -178,7 +178,7 @@ spotless {
178178
endWithNewline()
179179
indentWithSpaces()
180180
trimTrailingWhitespace()
181-
//licenseHeader(rootProject.file("gradle/license-header.txt"))
181+
// licenseHeader(rootProject.file("gradle/license-header.txt"))
182182
}
183183

184184
kotlinGradle {

docs/JDK Commands.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,13 @@ println("Hello Kotlin Script")
301301
```bash
302302
# Turn on all debugging
303303
$ java -Djavax.net.debug=all
304-
304+
305305
# Override HostsFileNameService
306306
$ java -Djdk.net.hosts.file=/etc/host/style/file
307-
307+
308308
# Force IPv4
309309
$ java -Djava.net.preferIPv4Stack=true
310-
310+
311311
# The entropy gathering device can also be specified with the system property
312312
$ java -Djava.security.egd=file:/dev/./urandom
313313
```
@@ -472,7 +472,7 @@ sourceSets.main.get().compileClasspath
472472
val u: TaskProvider<Jar> = register<Jar>("jar"){} // Create new task
473473
val v: TaskProvider<Jar> by registering(Jar::class){} // Create task using property delegate
474474
val jar: TaskProvider<Task> by existing // Get task using property delegate
475-
475+
476476
val foo: FooTask by existing // Take Task type from val (Kotlin 1.4)
477477
val bar: BarTask by registering {} // Take Task type from val (Kotlin 1.4)
478478
```

0 commit comments

Comments
 (0)