Skip to content

Commit

Permalink
Apply spotless to kotlin files
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
steven-sheehy committed Feb 6, 2025
1 parent cc02e65 commit 63116e3
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/go-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ tasks.register<Go>("test") {
"-covermode=atomic",
"-race",
"-v",
go.pkg
go.pkg,
)
dependsOn("fix")

Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/jooq-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ tasks.flywayMigrate {
locations =
arrayOf(
"filesystem:../hedera-mirror-importer/src/main/resources/db/migration/v1",
"filesystem:../hedera-mirror-importer/src/main/resources/db/migration/common"
"filesystem:../hedera-mirror-importer/src/main/resources/db/migration/common",
)
password = dbPassword
placeholders =
Expand All @@ -94,7 +94,7 @@ tasks.flywayMigrate {
"partitionTimeInterval" to "'100 years'",
"schema" to dbSchema,
"tempSchema" to "temporary",
"topicRunningHashV2AddedTimestamp" to "0"
"topicRunningHashV2AddedTimestamp" to "0",
)
user = dbUser

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/openapi-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ openApiGenerate {
"sourceFolder" to "",
"supportUrlQuery" to "false",
"useBeanValidation" to "true",
"useJakartaEe" to "true"
"useJakartaEe" to "true",
)
generateApiTests = false
generateModelTests = false
Expand Down
6 changes: 3 additions & 3 deletions hedera-mirror-graphql/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies {
runtimeOnly(
group = "io.netty",
name = "netty-resolver-dns-native-macos",
classifier = "osx-aarch_64"
classifier = "osx-aarch_64",
)
runtimeOnly("org.postgresql:postgresql")
testImplementation(project(path = ":common", configuration = "testClasses"))
Expand All @@ -74,7 +74,7 @@ generatePojoConf {
"java.time.Duration",
"",
"com.hedera.mirror.graphql.config.GraphQlDuration.INSTANCE",
""
"",
),
CustomScalarDefinition("Long", "java.lang.Long", "", "graphql.scalars.GraphQLLong", ""),
CustomScalarDefinition("Object", "java.lang.Object", "", "graphql.scalars.Object", ""),
Expand All @@ -83,7 +83,7 @@ generatePojoConf {
"java.time.Instant",
"",
"com.hedera.mirror.graphql.config.GraphQlTimestamp.INSTANCE",
""
"",
),
)
)
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-grpc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies {
runtimeOnly(
group = "io.netty",
name = "netty-resolver-dns-native-macos",
classifier = "osx-aarch_64"
classifier = "osx-aarch_64",
)
runtimeOnly("org.postgresql:postgresql")
testImplementation(project(path = ":common", configuration = "testClasses"))
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-importer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {
runtimeOnly(
group = "io.netty",
name = "netty-resolver-dns-native-macos",
classifier = "osx-aarch_64"
classifier = "osx-aarch_64",
)
testImplementation(project(path = ":common", configuration = "testClasses"))
testImplementation("com.github.vertical-blank:sql-formatter")
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-monitor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies {
runtimeOnly(
group = "io.netty",
name = "netty-resolver-dns-native-macos",
classifier = "osx-aarch_64"
classifier = "osx-aarch_64",
)
testImplementation("com.github.meanbeanlib:meanbean")
testImplementation("io.fabric8:kubernetes-server-mock")
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ tasks.compileJava {
listOf(
"-Amapstruct.defaultComponentModel=jakarta",
"-Amapstruct.defaultInjectionStrategy=constructor",
"-Amapstruct.disableBuilders=true"
"-Amapstruct.disableBuilders=true",
)
)
}
4 changes: 2 additions & 2 deletions hedera-mirror-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
testImplementation(
group = "io.netty",
name = "netty-resolver-dns-native-macos",
classifier = "osx-aarch_64"
classifier = "osx-aarch_64",
)
testImplementation("jakarta.inject:jakarta.inject-api")
testImplementation("net.java.dev.jna:jna")
Expand Down Expand Up @@ -94,7 +94,7 @@ tasks.shadowJar {
configurations =
listOf(
project.configurations.runtimeClasspath.get(),
project.configurations.testRuntimeClasspath.get()
project.configurations.testRuntimeClasspath.get(),
)
manifest { attributes["Main-Class"] = "com.hedera.mirror.test.TestApplication" }
mergeServiceFiles()
Expand Down

0 comments on commit 63116e3

Please sign in to comment.