From 12ff5fb7fb9a2d1c9ab530849e772e6c8a83e778 Mon Sep 17 00:00:00 2001 From: Benoit Quenaudon Date: Wed, 6 Sep 2023 12:25:10 +0100 Subject: [PATCH] Adding targets and trying targetHierarchy --- samples/js/build.gradle.kts | 2 +- wire-grpc-client/build.gradle.kts | 47 +- wire-runtime/build.gradle.kts | 74 +-- wire-schema-tests/build.gradle.kts | 9 +- wire-schema/build.gradle.kts | 10 +- wireRuntimeVariants.txt | 878 +++++++++++++++++++++++++++++ 6 files changed, 932 insertions(+), 88 deletions(-) create mode 100644 wireRuntimeVariants.txt diff --git a/samples/js/build.gradle.kts b/samples/js/build.gradle.kts index 053722d0e0..a413b8ce4f 100644 --- a/samples/js/build.gradle.kts +++ b/samples/js/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("js") + kotlin("multiplatform") id("com.squareup.wire") } diff --git a/wire-grpc-client/build.gradle.kts b/wire-grpc-client/build.gradle.kts index b63481d824..f08f908bf3 100644 --- a/wire-grpc-client/build.gradle.kts +++ b/wire-grpc-client/build.gradle.kts @@ -1,6 +1,7 @@ import com.vanniktech.maven.publish.JavadocJar.Javadoc import com.vanniktech.maven.publish.KotlinMultiplatform import com.vanniktech.maven.publish.MavenPublishBaseExtension +import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi plugins { kotlin("multiplatform") @@ -15,9 +16,7 @@ if (project.rootProject.name == "wire") { } kotlin { - jvm { - withJava() - } + jvm().withJava() if (System.getProperty("kjs", "true").toBoolean()) { js(IR) { configure(listOf(compilations.getByName("main"), compilations.getByName("test"))) { @@ -34,18 +33,32 @@ kotlin { } } if (System.getProperty("knative", "true").toBoolean()) { - iosX64() + androidNativeArm32() + androidNativeArm64() + androidNativeX64() + androidNativeX86() iosArm64() iosSimulatorArm64() - // Required to generate tests tasks: https://youtrack.jetbrains.com/issue/KT-26547 - linuxX64() - macosX64() + iosSimulatorArm64() + iosX64() + linuxArm64() + linuxX64() // Required to generate tests tasks: https://youtrack.jetbrains.com/issue/KT-26547 macosArm64() + macosX64() mingwX64() - tvosX64() tvosArm64() tvosSimulatorArm64() + tvosX64() + wasm().nodejs() + watchosArm32() + watchosArm64() + watchosDeviceArm64() + watchosSimulatorArm64() + watchosX64() } + + @OptIn(ExperimentalKotlinGradlePluginApi::class) targetHierarchy.default() + sourceSets { val commonMain by getting { dependencies { @@ -59,24 +72,6 @@ kotlin { api(libs.okhttp.core) } } - if (System.getProperty("knative", "true").toBoolean()) { - val nativeMain by creating { - dependsOn(commonMain) - } - val iosX64Main by getting - val iosArm64Main by getting - val iosSimulatorArm64Main by getting - val linuxX64Main by getting - val macosX64Main by getting - val macosArm64Main by getting - val mingwX64Main by getting - val tvosX64Main by getting - val tvosArm64Main by getting - val tvosSimulatorArm64Main by getting - for (it in listOf(iosX64Main, iosArm64Main, iosSimulatorArm64Main, linuxX64Main, macosX64Main, macosArm64Main, mingwX64Main, tvosX64Main, tvosArm64Main, tvosSimulatorArm64Main)) { - it.dependsOn(nativeMain) - } - } } } diff --git a/wire-runtime/build.gradle.kts b/wire-runtime/build.gradle.kts index 3b9fcb5ef8..7380b754d3 100644 --- a/wire-runtime/build.gradle.kts +++ b/wire-runtime/build.gradle.kts @@ -2,6 +2,8 @@ import com.diffplug.gradle.spotless.SpotlessExtension import com.vanniktech.maven.publish.JavadocJar.Javadoc import com.vanniktech.maven.publish.KotlinMultiplatform import com.vanniktech.maven.publish.MavenPublishBaseExtension +import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi +import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension plugins { kotlin("multiplatform") @@ -17,9 +19,7 @@ if (project.rootProject.name == "wire") { } kotlin { - jvm { - withJava() - } + jvm().withJava() if (System.getProperty("kjs", "true").toBoolean()) { js(IR) { configure(listOf(compilations.getByName("main"), compilations.getByName("test"))) { @@ -36,18 +36,32 @@ kotlin { } } if (System.getProperty("knative", "true").toBoolean()) { - iosX64() + androidNativeArm32() + androidNativeArm64() + androidNativeX64() + androidNativeX86() iosArm64() iosSimulatorArm64() - // Required to generate tests tasks: https://youtrack.jetbrains.com/issue/KT-26547 - linuxX64() - macosX64() + iosSimulatorArm64() + iosX64() + linuxArm64() + linuxX64() // Required to generate tests tasks: https://youtrack.jetbrains.com/issue/KT-26547 macosArm64() + macosX64() mingwX64() - tvosX64() tvosArm64() tvosSimulatorArm64() + tvosX64() + wasm().nodejs() + watchosArm32() + watchosArm64() + watchosDeviceArm64() + watchosSimulatorArm64() + watchosX64() } + + @OptIn(ExperimentalKotlinGradlePluginApi::class) targetHierarchy.default() + sourceSets { val commonMain by getting { dependencies { @@ -78,50 +92,6 @@ kotlin { } } } - if (System.getProperty("knative", "true").toBoolean()) { - val nativeMain by creating { - dependsOn(commonMain) - } - val nativeTest by creating { - dependsOn(commonTest) - } - val darwinMain by creating { - dependsOn(commonMain) - } - - val iosX64Main by getting - val iosArm64Main by getting - val iosSimulatorArm64Main by getting - val linuxX64Main by getting - val macosX64Main by getting - val macosArm64Main by getting - val mingwX64Main by getting - val tvosX64Main by getting - val tvosArm64Main by getting - val tvosSimulatorArm64Main by getting - val iosX64Test by getting - val iosArm64Test by getting - val iosSimulatorArm64Test by getting - val linuxX64Test by getting - val macosX64Test by getting - val macosArm64Test by getting - val mingwX64Test by getting - val tvosX64Test by getting - val tvosArm64Test by getting - val tvosSimulatorArm64Test by getting - - for (it in listOf(iosX64Main, iosArm64Main, iosSimulatorArm64Main, linuxX64Main, macosX64Main, macosArm64Main, mingwX64Main, tvosX64Main, tvosArm64Main, tvosSimulatorArm64Main)) { - it.dependsOn(nativeMain) - } - - for (it in listOf(iosX64Test, iosArm64Test, iosSimulatorArm64Test, linuxX64Test, macosX64Test, macosArm64Test, mingwX64Test, tvosX64Test, tvosArm64Test, tvosSimulatorArm64Test)) { - it.dependsOn(nativeTest) - } - - for (it in listOf(iosX64Main, iosArm64Main, macosX64Main, macosArm64Main, tvosX64Main, tvosArm64Main)) { - it.dependsOn(darwinMain) - } - } } } diff --git a/wire-schema-tests/build.gradle.kts b/wire-schema-tests/build.gradle.kts index 879818f750..79c29584c0 100644 --- a/wire-schema-tests/build.gradle.kts +++ b/wire-schema-tests/build.gradle.kts @@ -2,6 +2,7 @@ import com.vanniktech.maven.publish.JavadocJar.Javadoc import com.vanniktech.maven.publish.KotlinJvm import com.vanniktech.maven.publish.KotlinMultiplatform import com.vanniktech.maven.publish.MavenPublishBaseExtension +import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi plugins { kotlin("multiplatform") @@ -16,10 +17,7 @@ if (project.rootProject.name == "wire") { } kotlin { - jvm { - // Required by MavenPublishBaseExtension even though we do not have Java sources. - withJava() - } + jvm().withJava() // Required by MavenPublishBaseExtension even though we do not have Java sources. if (System.getProperty("kjs", "true").toBoolean()) { js(IR) { configure(listOf(compilations.getByName("main"), compilations.getByName("test"))) { @@ -35,6 +33,9 @@ kotlin { browser() } } + + @OptIn(ExperimentalKotlinGradlePluginApi::class) targetHierarchy.default() + sourceSets { val commonMain by getting { dependencies { diff --git a/wire-schema/build.gradle.kts b/wire-schema/build.gradle.kts index 46b381a9f0..4b19bec2a2 100644 --- a/wire-schema/build.gradle.kts +++ b/wire-schema/build.gradle.kts @@ -2,6 +2,7 @@ import com.diffplug.gradle.spotless.SpotlessExtension import com.vanniktech.maven.publish.JavadocJar.Javadoc import com.vanniktech.maven.publish.KotlinMultiplatform import com.vanniktech.maven.publish.MavenPublishBaseExtension +import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi plugins { kotlin("multiplatform") @@ -16,9 +17,7 @@ if (project.rootProject.name == "wire") { } kotlin { - jvm { - withJava() - } + jvm().withJava() if (System.getProperty("kjs", "true").toBoolean()) { js(IR) { configure(listOf(compilations.getByName("main"), compilations.getByName("test"))) { @@ -34,14 +33,15 @@ kotlin { browser() } } + + @OptIn(ExperimentalKotlinGradlePluginApi::class) targetHierarchy.default() + sourceSets { val commonMain by getting { dependencies { api(projects.wireRuntime) } } - val commonTest by getting { - } val jvmMain by getting { dependencies { api(libs.okio.core) diff --git a/wireRuntimeVariants.txt b/wireRuntimeVariants.txt new file mode 100644 index 0000000000..f429a20771 --- /dev/null +++ b/wireRuntimeVariants.txt @@ -0,0 +1,878 @@ +-------------------------------------------------- +Variant archives +-------------------------------------------------- +Configuration for archive artifacts. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Artifacts + - build/classes/kotlin/iosArm64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/iosSimulatorArm64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/iosX64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/linuxX64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/macosArm64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/macosX64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/mingwX64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/tvosArm64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/tvosSimulatorArm64/main/klib/wire-runtime.klib (artifactType = klib) + - build/classes/kotlin/tvosX64/main/klib/wire-runtime.klib (artifactType = klib) + - build/libs/wire-runtime-iosarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-iossimulatorarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-iosx64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-js-4.9.0-SNAPSHOT.klib (artifactType = klib) + - build/libs/wire-runtime-jvm-4.9.0-SNAPSHOT.jar (artifactType = jar) + - build/libs/wire-runtime-jvm-4.9.0-SNAPSHOT.jar (artifactType = jar) + - build/libs/wire-runtime-macosarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-macosx64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-metadata-4.9.0-SNAPSHOT.jar (artifactType = jar) + - build/libs/wire-runtime-metadata-4.9.0-SNAPSHOT.jar (artifactType = jar) + - build/libs/wire-runtime-tvosarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-tvossimulatorarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + - build/libs/wire-runtime-tvosx64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant default +-------------------------------------------------- +Configuration for default artifacts. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Artifacts + - build/libs/wire-runtime-jvm-4.9.0-SNAPSHOT.jar (artifactType = jar) + +-------------------------------------------------- +Variant iosArm64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = ios_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/iosArm64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant iosArm64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = ios_arm64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant iosArm64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = ios_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-iosarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant iosArm64SourcesElements +-------------------------------------------------- +Source files of main compilation of iosArm64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = ios_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-iosarm64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant iosSimulatorArm64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = ios_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/iosSimulatorArm64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant iosSimulatorArm64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = ios_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant iosSimulatorArm64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = ios_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-iossimulatorarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant iosSimulatorArm64SourcesElements +-------------------------------------------------- +Source files of main compilation of iosSimulatorArm64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = ios_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-iossimulatorarm64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant iosX64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = ios_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/iosX64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant iosX64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = ios_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant iosX64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = ios_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-iosx64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant iosX64SourcesElements +-------------------------------------------------- +Source files of main compilation of iosX64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = ios_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-iosx64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant jsApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.js.compiler = ir + - org.jetbrains.kotlin.platform.type = js +Artifacts + - build/libs/wire-runtime-js-4.9.0-SNAPSHOT.klib (artifactType = klib) + +-------------------------------------------------- +Variant jsPublicPackageJsonConfiguration +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.js.compiler = ir + - org.jetbrains.kotlin.js.public.package.json = public-package-json + - org.jetbrains.kotlin.platform.type = js +Artifacts + - build/tmp/jsPublicPackageJson/package.json (artifactType = json) + +-------------------------------------------------- +Variant jsRuntimeElements +-------------------------------------------------- +Elements of runtime for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.js.compiler = ir + - org.jetbrains.kotlin.platform.type = js +Artifacts + - build/libs/wire-runtime-js-4.9.0-SNAPSHOT.klib (artifactType = klib) + +-------------------------------------------------- +Variant jsSourcesElements +-------------------------------------------------- +Source files of main compilation of js. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.js.compiler = ir + - org.jetbrains.kotlin.platform.type = js +Artifacts + - build/libs/wire-runtime-js-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant jvmApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = library + - org.gradle.jvm.environment = standard-jvm + - org.gradle.libraryelements = jar + - org.gradle.usage = java-api + - org.jetbrains.kotlin.platform.type = jvm +Artifacts + - build/libs/wire-runtime-jvm-4.9.0-SNAPSHOT.jar (artifactType = jar) + +-------------------------------------------------- +Variant jvmRuntimeElements +-------------------------------------------------- +Elements of runtime for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = library + - org.gradle.jvm.environment = standard-jvm + - org.gradle.libraryelements = jar + - org.gradle.usage = java-runtime + - org.jetbrains.kotlin.platform.type = jvm +Artifacts + - build/libs/wire-runtime-jvm-4.9.0-SNAPSHOT.jar (artifactType = jar) + +-------------------------------------------------- +Variant jvmSourcesElements +-------------------------------------------------- +Source files of main compilation of jvm. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = standard-jvm + - org.gradle.libraryelements = jar + - org.gradle.usage = java-runtime + - org.jetbrains.kotlin.platform.type = jvm +Artifacts + - build/libs/wire-runtime-jvm-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant linuxX64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = linux_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/linuxX64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant linuxX64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = linux_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant linuxX64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = linux_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant linuxX64SourcesElements +-------------------------------------------------- +Source files of main compilation of linuxX64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = linux_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-linuxx64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant macosArm64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = macos_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/macosArm64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant macosArm64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = macos_arm64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant macosArm64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = macos_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-macosarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant macosArm64SourcesElements +-------------------------------------------------- +Source files of main compilation of macosArm64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = macos_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-macosarm64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant macosX64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = macos_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/macosX64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant macosX64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = macos_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant macosX64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = macos_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-macosx64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant macosX64SourcesElements +-------------------------------------------------- +Source files of main compilation of macosX64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = macos_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-macosx64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant mainSourceElements (i) +-------------------------------------------------- +List of source directories contained in the Main SourceSet. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = verification + - org.gradle.dependency.bundling = external + - org.gradle.verificationtype = main-sources +Artifacts + - src/jvmMain/java (artifactType = directory) + - src/jvmMain/resources (artifactType = directory) + +-------------------------------------------------- +Variant metadataApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.platform.type = common +Artifacts + - build/libs/wire-runtime-metadata-4.9.0-SNAPSHOT.jar (artifactType = jar) + +-------------------------------------------------- +Variant metadataSourcesElements +-------------------------------------------------- +Source files of main compilation of metadata. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.platform.type = common +Artifacts + - build/libs/wire-runtime-kotlin-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant mingwX64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = mingw_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/mingwX64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant mingwX64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = mingw_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant mingwX64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = mingw_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant mingwX64SourcesElements +-------------------------------------------------- +Source files of main compilation of mingwX64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = mingw_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-mingwx64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant testResultsElementsForTest (i) +-------------------------------------------------- +Directory containing binary results of running tests for the test Test Suite's test target. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = verification + - org.gradle.testsuite.name = test + - org.gradle.testsuite.target.name = test + - org.gradle.testsuite.type = unit-test + - org.gradle.verificationtype = test-results +Artifacts + - build/test-results/test/binary (artifactType = directory) + +-------------------------------------------------- +Variant tvosArm64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = tvos_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/tvosArm64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant tvosArm64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = tvos_arm64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant tvosArm64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = tvos_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-tvosarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant tvosArm64SourcesElements +-------------------------------------------------- +Source files of main compilation of tvosArm64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = tvos_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-tvosarm64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant tvosSimulatorArm64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = tvos_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/tvosSimulatorArm64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant tvosSimulatorArm64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = tvos_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant tvosSimulatorArm64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = tvos_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-tvossimulatorarm64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant tvosSimulatorArm64SourcesElements +-------------------------------------------------- +Source files of main compilation of tvosSimulatorArm64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = tvos_simulator_arm64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-tvossimulatorarm64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +-------------------------------------------------- +Variant tvosX64ApiElements +-------------------------------------------------- +API elements for main. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-api + - org.jetbrains.kotlin.native.target = tvos_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/classes/kotlin/tvosX64/main/klib/wire-runtime.klib (artifactType = klib) + +-------------------------------------------------- +Variant tvosX64CInteropApiElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.libraryelements = cinterop-klib + - org.gradle.usage = kotlin-cinterop + - org.jetbrains.kotlin.native.target = tvos_x64 + - org.jetbrains.kotlin.platform.type = native + +-------------------------------------------------- +Variant tvosX64MetadataElements +-------------------------------------------------- + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - artifactType = org.jetbrains.kotlin.klib + - org.gradle.category = library + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-metadata + - org.jetbrains.kotlin.native.target = tvos_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-tvosx64-4.9.0-SNAPSHOT-metadata.jar (artifactType = jar, classifier = metadata) + +-------------------------------------------------- +Variant tvosX64SourcesElements +-------------------------------------------------- +Source files of main compilation of tvosX64. + +Capabilities + - com.squareup.wire:wire-runtime:4.9.0-SNAPSHOT (default capability) +Attributes + - org.gradle.category = documentation + - org.gradle.dependency.bundling = external + - org.gradle.docstype = sources + - org.gradle.jvm.environment = non-jvm + - org.gradle.usage = kotlin-runtime + - org.jetbrains.kotlin.native.target = tvos_x64 + - org.jetbrains.kotlin.platform.type = native +Artifacts + - build/libs/wire-runtime-tvosx64-4.9.0-SNAPSHOT-sources.jar (artifactType = jar, classifier = sources) + +(i) Configuration uses incubating attributes such as Category.VERIFICATION.