Skip to content

Commit

Permalink
style: fix coding style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
YukinaMochizuki committed Aug 17, 2024
1 parent 6ef9666 commit 8f2fe1e
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 34 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
- name: ☕ Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '22'
distribution: "temurin"
java-version: "22"

- name: 🐘 Setup Gradle
uses: gradle/gradle-build-action@v3

- name: 🚀 Build
run: ./gradlew build --no-daemon

- name: 🧪 Test
run: ./gradlew test --no-daemon
run: ./gradlew test --no-daemon
46 changes: 23 additions & 23 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
plugins {
java
id("org.springframework.boot") version "3.3.2"
id("io.spring.dependency-management") version "1.1.6"
java
id("org.springframework.boot") version "3.3.2"
id("io.spring.dependency-management") version "1.1.6"
}

group = "tw.yukina.portable-lab"
version = "0.0.1-SNAPSHOT"

java {
toolchain {
languageVersion = JavaLanguageVersion.of(22)
}
toolchain {
languageVersion = JavaLanguageVersion.of(22)
}
}

configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}

repositories {
mavenCentral()
mavenCentral()
}

extra["springShellVersion"] = "3.3.1"

dependencies {
implementation("org.springframework.shell:spring-shell-starter")
implementation("org.apache.sshd:sshd-core:2.13.2")
implementation("com.github.hypfvieh:dbus-java:3.3.2")

compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.shell:spring-shell-starter-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
implementation("org.springframework.shell:spring-shell-starter")
implementation("org.apache.sshd:sshd-core:2.13.2")
implementation("com.github.hypfvieh:dbus-java:3.3.2")

compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.shell:spring-shell-starter-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

dependencyManagement {
imports {
mavenBom("org.springframework.shell:spring-shell-dependencies:${property("springShellVersion")}")
}
imports {
mavenBom("org.springframework.shell:spring-shell-dependencies:${property("springShellVersion")}")
}
}

tasks.withType<Test> {
useJUnitPlatform()
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
@SpringBootApplication
public class RouterApplication {

public static void main(String[] args) {
SpringApplication.run(RouterApplication.class, args);
}

/**
* Main method to run the application
*
* @param args
* @return
*/
public static void main(final String[] args) {
SpringApplication.run(RouterApplication.class, args);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
@SpringBootTest
class RouterApplicationTests {

@Test
void contextLoads() {
}
@Test
void contextLoads() {
}

}

0 comments on commit 8f2fe1e

Please sign in to comment.