File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1- import okio.FileSystem
2- import okio.Path.Companion.toPath
31import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
42
53buildscript {
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-
2512val wire by configurations.creating {
2613 attributes {
2714 val platformAttr = Attribute .of(" org.jetbrains.kotlin.platform.type" , KotlinPlatformType ::class .java)
You can’t perform that action at this time.
0 commit comments