Skip to content

Commit b6199ac

Browse files
authored
Merge pull request #3497 from square/bquenaudon.2026-01-13.removecooooode
Remove some dead code in gen-tests
2 parents ce7ca4d + aad6fb8 commit b6199ac

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

gen-tests.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1-
import okio.FileSystem
2-
import okio.Path.Companion.toPath
31
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
42

53
buildscript {
64
dependencies {
75
classpath(libs.pluginz.kotlin)
8-
classpath(platform(libs.okio.bom))
9-
classpath(libs.okio.core)
106
}
117
repositories {
128
mavenCentral()
139
}
1410
}
1511

16-
val fileSystem = FileSystem.SYSTEM
17-
val protosDir = "${rootProject.rootDir}/wire-tests/fixtures/proto/java".toPath()
18-
val PROTOS = fileSystem.listRecursively(protosDir)
19-
.filter { fileSystem.metadata(it).isRegularFile }
20-
.map { it.relativeTo(protosDir).toString() }
21-
.filter { it.endsWith(".proto") }
22-
.sorted()
23-
.toList()
24-
2512
val wire by configurations.creating {
2613
attributes {
2714
val platformAttr = Attribute.of("org.jetbrains.kotlin.platform.type", KotlinPlatformType::class.java)

0 commit comments

Comments
 (0)