Skip to content

Commit f6a784a

Browse files
committed
Fix spotless apply
1 parent 12af95a commit f6a784a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

gradle-module-plugin/src/functionalTest/kotlin/io/ia/sdk/gradle/modl/task/ZipModuleTests.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import io.ia.sdk.gradle.modl.util.unsignedModuleName
66
import org.gradle.api.Project
77
import org.gradle.api.internal.project.DefaultProject
88
import org.gradle.testfixtures.ProjectBuilder
9+
import java.io.File
910
import kotlin.io.path.createTempDirectory
10-
import kotlin.test.BeforeTest
1111
import kotlin.test.AfterTest
12+
import kotlin.test.BeforeTest
1213
import kotlin.test.Test
13-
import kotlin.test.assertTrue
1414
import kotlin.test.assertFailsWith
15-
import java.io.File
15+
import kotlin.test.assertTrue
1616

1717
class ZipModuleTests : BaseTest() {
1818

@@ -55,7 +55,7 @@ class ZipModuleTests : BaseTest() {
5555
File(contentDir, "my-lib-2.0.jar").createNewFile() // This is the duplicate
5656

5757
// Act & Assert: The task should throw a IllegalArgumentException
58-
val exception = assertFailsWith<IllegalArgumentException>{
58+
val exception = assertFailsWith<IllegalArgumentException> {
5959
task.execute()
6060
}
6161

gradle-module-plugin/src/main/kotlin/io/ia/sdk/gradle/modl/task/ZipModule.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ open class ZipModule @Inject constructor(objects: ObjectFactory) : DefaultTask()
7474

7575
if (fileSet.contains(name)) {
7676
throw IllegalArgumentException(
77-
"Library '$name' exists in multiple versions in ${contentDir.absolutePath}")
77+
"Library '$name' exists in multiple versions in ${contentDir.absolutePath}"
78+
)
7879
} else {
7980
fileSet.add(name)
8081
}

0 commit comments

Comments
 (0)