From 640a72434c422787454b027a4a1052c04fe58fdd Mon Sep 17 00:00:00 2001 From: Carter Jernigan Date: Wed, 8 Mar 2023 06:34:53 -0500 Subject: [PATCH] Android Gradle Plugin 8.0.1 --- build-conventions/gradle.lockfile | 177 +++++++++++++----------- demo-app/build.gradle.kts | 1 + gradle.properties | 4 +- lightwallet-client-lib/build.gradle.kts | 4 + sdk-lib/build.gradle.kts | 14 +- 5 files changed, 115 insertions(+), 85 deletions(-) diff --git a/build-conventions/gradle.lockfile b/build-conventions/gradle.lockfile index ad043b2d..a65ed8ec 100644 --- a/build-conventions/gradle.lockfile +++ b/build-conventions/gradle.lockfile @@ -1,62 +1,63 @@ # This is a Gradle generated file for dependency locking. # Manual edits can break the build and are not advised. # This file is expected to be part of source control. -androidx.databinding:databinding-common:7.4.0=runtimeClasspath -androidx.databinding:databinding-compiler-common:7.4.0=runtimeClasspath -com.android.databinding:baseLibrary:7.4.0=runtimeClasspath -com.android.tools.analytics-library:crash:30.4.0=runtimeClasspath -com.android.tools.analytics-library:protos:30.4.0=runtimeClasspath -com.android.tools.analytics-library:shared:30.4.0=runtimeClasspath -com.android.tools.analytics-library:tracker:30.4.0=runtimeClasspath +androidx.databinding:databinding-common:8.0.1=runtimeClasspath +androidx.databinding:databinding-compiler-common:8.0.1=runtimeClasspath +com.android.databinding:baseLibrary:8.0.1=runtimeClasspath +com.android.tools.analytics-library:crash:31.0.1=runtimeClasspath +com.android.tools.analytics-library:protos:31.0.1=runtimeClasspath +com.android.tools.analytics-library:shared:31.0.1=runtimeClasspath +com.android.tools.analytics-library:tracker:31.0.1=runtimeClasspath com.android.tools.build.jetifier:jetifier-core:1.0.0-beta10=runtimeClasspath com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta10=runtimeClasspath -com.android.tools.build:aapt2-proto:7.4.0-8841542=runtimeClasspath -com.android.tools.build:aaptcompiler:7.4.0=runtimeClasspath -com.android.tools.build:apksig:7.4.0=compileClasspath,runtimeClasspath -com.android.tools.build:apkzlib:7.4.0=compileClasspath,runtimeClasspath -com.android.tools.build:builder-model:7.4.0=compileClasspath,runtimeClasspath -com.android.tools.build:builder-test-api:7.4.0=runtimeClasspath -com.android.tools.build:builder:7.4.0=compileClasspath,runtimeClasspath -com.android.tools.build:bundletool:1.11.4=runtimeClasspath -com.android.tools.build:gradle-api:7.4.0=compileClasspath,runtimeClasspath -com.android.tools.build:gradle-settings-api:7.4.0=runtimeClasspath -com.android.tools.build:gradle:7.4.0=compileClasspath,runtimeClasspath -com.android.tools.build:manifest-merger:30.4.0=compileClasspath,runtimeClasspath +com.android.tools.build:aapt2-proto:8.0.1-9289358=runtimeClasspath +com.android.tools.build:aaptcompiler:8.0.1=runtimeClasspath +com.android.tools.build:apksig:8.0.1=compileClasspath,runtimeClasspath +com.android.tools.build:apkzlib:8.0.1=compileClasspath,runtimeClasspath +com.android.tools.build:builder-model:8.0.1=compileClasspath,runtimeClasspath +com.android.tools.build:builder-test-api:8.0.1=runtimeClasspath +com.android.tools.build:builder:8.0.1=compileClasspath,runtimeClasspath +com.android.tools.build:bundletool:1.13.2=runtimeClasspath +com.android.tools.build:gradle-api:8.0.1=compileClasspath,runtimeClasspath +com.android.tools.build:gradle-settings-api:8.0.1=runtimeClasspath +com.android.tools.build:gradle:8.0.1=compileClasspath,runtimeClasspath +com.android.tools.build:manifest-merger:31.0.1=compileClasspath,runtimeClasspath com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api=runtimeClasspath -com.android.tools.ddms:ddmlib:30.4.0=runtimeClasspath -com.android.tools.layoutlib:layoutlib-api:30.4.0=runtimeClasspath -com.android.tools.lint:lint-model:30.4.0=runtimeClasspath -com.android.tools.lint:lint-typedef-remover:30.4.0=runtimeClasspath -com.android.tools.utp:android-device-provider-ddmlib-proto:30.4.0=runtimeClasspath -com.android.tools.utp:android-device-provider-gradle-proto:30.4.0=runtimeClasspath -com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.4.0=runtimeClasspath -com.android.tools.utp:android-test-plugin-host-coverage-proto:30.4.0=runtimeClasspath -com.android.tools.utp:android-test-plugin-host-retention-proto:30.4.0=runtimeClasspath -com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.4.0=runtimeClasspath -com.android.tools:annotations:30.4.0=runtimeClasspath -com.android.tools:common:30.4.0=runtimeClasspath -com.android.tools:dvlib:30.4.0=runtimeClasspath -com.android.tools:repository:30.4.0=runtimeClasspath -com.android.tools:sdk-common:30.4.0=runtimeClasspath -com.android.tools:sdklib:30.4.0=runtimeClasspath -com.android:signflinger:7.4.0=runtimeClasspath -com.android:zipflinger:7.4.0=compileClasspath,runtimeClasspath +com.android.tools.ddms:ddmlib:31.0.1=runtimeClasspath +com.android.tools.layoutlib:layoutlib-api:31.0.1=runtimeClasspath +com.android.tools.lint:lint-model:31.0.1=runtimeClasspath +com.android.tools.lint:lint-typedef-remover:31.0.1=runtimeClasspath +com.android.tools.utp:android-device-provider-ddmlib-proto:31.0.1=runtimeClasspath +com.android.tools.utp:android-device-provider-gradle-proto:31.0.1=runtimeClasspath +com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:31.0.1=runtimeClasspath +com.android.tools.utp:android-test-plugin-host-coverage-proto:31.0.1=runtimeClasspath +com.android.tools.utp:android-test-plugin-host-logcat-proto:31.0.1=runtimeClasspath +com.android.tools.utp:android-test-plugin-host-retention-proto:31.0.1=runtimeClasspath +com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:31.0.1=runtimeClasspath +com.android.tools:annotations:31.0.1=runtimeClasspath +com.android.tools:common:31.0.1=runtimeClasspath +com.android.tools:dvlib:31.0.1=runtimeClasspath +com.android.tools:repository:31.0.1=runtimeClasspath +com.android.tools:sdk-common:31.0.1=runtimeClasspath +com.android.tools:sdklib:31.0.1=runtimeClasspath +com.android:signflinger:8.0.1=runtimeClasspath +com.android:zipflinger:8.0.1=compileClasspath,runtimeClasspath com.google.android:annotations:4.1.1.4=runtimeClasspath com.google.api.grpc:proto-google-common-protos:2.0.1=runtimeClasspath com.google.auto.value:auto-value-annotations:1.6.2=runtimeClasspath com.google.code.findbugs:jsr305:3.0.2=runtimeClasspath com.google.code.gson:gson:2.8.9=runtimeClasspath -com.google.crypto.tink:tink:1.3.0-rc2=runtimeClasspath +com.google.crypto.tink:tink:1.7.0=runtimeClasspath com.google.dagger:dagger:2.28.3=runtimeClasspath -com.google.errorprone:error_prone_annotations:2.4.0=runtimeClasspath +com.google.errorprone:error_prone_annotations:2.10.0=runtimeClasspath com.google.flatbuffers:flatbuffers-java:1.12.0=runtimeClasspath com.google.guava:failureaccess:1.0.1=runtimeClasspath -com.google.guava:guava:30.1-jre=runtimeClasspath +com.google.guava:guava:31.0.1-jre=runtimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=runtimeClasspath com.google.j2objc:j2objc-annotations:1.3=runtimeClasspath com.google.jimfs:jimfs:1.1=runtimeClasspath -com.google.protobuf:protobuf-java-util:3.17.2=runtimeClasspath -com.google.protobuf:protobuf-java:3.17.2=runtimeClasspath +com.google.protobuf:protobuf-java-util:3.19.3=runtimeClasspath +com.google.protobuf:protobuf-java:3.19.3=runtimeClasspath com.google.testing.platform:core-proto:0.0.8-alpha08=runtimeClasspath com.googlecode.juniversalchardet:juniversalchardet:1.0.3=runtimeClasspath com.squareup:javapoet:1.10.0=runtimeClasspath @@ -68,23 +69,24 @@ com.vdurmont:semver4j:3.1.0=runtimeClasspath commons-codec:commons-codec:1.11=runtimeClasspath commons-io:commons-io:2.4=runtimeClasspath commons-logging:commons-logging:1.2=runtimeClasspath -io.grpc:grpc-api:1.39.0=runtimeClasspath -io.grpc:grpc-context:1.39.0=runtimeClasspath -io.grpc:grpc-core:1.39.0=runtimeClasspath -io.grpc:grpc-netty:1.39.0=runtimeClasspath -io.grpc:grpc-protobuf-lite:1.39.0=runtimeClasspath -io.grpc:grpc-protobuf:1.39.0=runtimeClasspath -io.grpc:grpc-stub:1.39.0=runtimeClasspath -io.netty:netty-buffer:4.1.52.Final=runtimeClasspath -io.netty:netty-codec-http2:4.1.52.Final=runtimeClasspath -io.netty:netty-codec-http:4.1.52.Final=runtimeClasspath -io.netty:netty-codec-socks:4.1.52.Final=runtimeClasspath -io.netty:netty-codec:4.1.52.Final=runtimeClasspath -io.netty:netty-common:4.1.52.Final=runtimeClasspath -io.netty:netty-handler-proxy:4.1.52.Final=runtimeClasspath -io.netty:netty-handler:4.1.52.Final=runtimeClasspath -io.netty:netty-resolver:4.1.52.Final=runtimeClasspath -io.netty:netty-transport:4.1.52.Final=runtimeClasspath +io.grpc:grpc-api:1.45.1=runtimeClasspath +io.grpc:grpc-context:1.45.1=runtimeClasspath +io.grpc:grpc-core:1.45.1=runtimeClasspath +io.grpc:grpc-netty:1.45.1=runtimeClasspath +io.grpc:grpc-protobuf-lite:1.45.1=runtimeClasspath +io.grpc:grpc-protobuf:1.45.1=runtimeClasspath +io.grpc:grpc-stub:1.45.1=runtimeClasspath +io.netty:netty-buffer:4.1.72.Final=runtimeClasspath +io.netty:netty-codec-http2:4.1.72.Final=runtimeClasspath +io.netty:netty-codec-http:4.1.72.Final=runtimeClasspath +io.netty:netty-codec-socks:4.1.72.Final=runtimeClasspath +io.netty:netty-codec:4.1.72.Final=runtimeClasspath +io.netty:netty-common:4.1.72.Final=runtimeClasspath +io.netty:netty-handler-proxy:4.1.72.Final=runtimeClasspath +io.netty:netty-handler:4.1.72.Final=runtimeClasspath +io.netty:netty-resolver:4.1.72.Final=runtimeClasspath +io.netty:netty-tcnative-classes:2.0.46.Final=runtimeClasspath +io.netty:netty-transport:4.1.72.Final=runtimeClasspath io.perfmark:perfmark-api:0.23.0=runtimeClasspath jakarta.activation:jakarta.activation-api:1.2.1=runtimeClasspath jakarta.xml.bind:jakarta.xml.bind-api:2.3.2=runtimeClasspath @@ -96,12 +98,12 @@ net.sf.jopt-simple:jopt-simple:4.9=runtimeClasspath net.sf.kxml:kxml2:2.3.0=runtimeClasspath org.apache.commons:commons-compress:1.20=runtimeClasspath org.apache.httpcomponents:httpclient:4.5.13=runtimeClasspath -org.apache.httpcomponents:httpcore:4.4.13=runtimeClasspath +org.apache.httpcomponents:httpcore:4.4.15=runtimeClasspath org.apache.httpcomponents:httpmime:4.5.6=runtimeClasspath org.bitbucket.b_c:jose4j:0.7.0=runtimeClasspath org.bouncycastle:bcpkix-jdk15on:1.67=runtimeClasspath org.bouncycastle:bcprov-jdk15on:1.67=runtimeClasspath -org.checkerframework:checker-qual:3.5.0=runtimeClasspath +org.checkerframework:checker-qual:3.12.0=runtimeClasspath org.codehaus.mojo:animal-sniffer-annotations:1.19=runtimeClasspath org.glassfish.jaxb:jaxb-runtime:2.3.2=runtimeClasspath org.glassfish.jaxb:txw2:2.3.2=runtimeClasspath @@ -109,49 +111,55 @@ org.jdom:jdom2:2.0.6=runtimeClasspath org.jetbrains.intellij.deps:trove4j:1.0.20200330=kotlinCompilerClasspath,runtimeClasspath org.jetbrains.kotlin:kotlin-android-extensions:1.8.21=runtimeClasspath org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.10=kotlinCompilerClasspath +org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.10=kotlinCompilerClasspath org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.21=runtimeClasspath org.jetbrains.kotlin:kotlin-compiler-runner:1.8.21=runtimeClasspath org.jetbrains.kotlin:kotlin-daemon-client:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-daemon-embeddable:1.7.10=kotlinCompilerClasspath +org.jetbrains.kotlin:kotlin-daemon-embeddable:1.8.10=kotlinCompilerClasspath org.jetbrains.kotlin:kotlin-daemon-embeddable:1.8.21=runtimeClasspath org.jetbrains.kotlin:kotlin-gradle-plugin-annotations:1.8.21=compileClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.8.21=compileClasspath,runtimeClasspath org.jetbrains.kotlin:kotlin-gradle-plugin-idea-proto:1.8.21=runtimeClasspath org.jetbrains.kotlin:kotlin-gradle-plugin-idea:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.8.21=compileClasspath,runtimeClasspath org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21=compileClasspath,runtimeClasspath org.jetbrains.kotlin:kotlin-gradle-plugins-bom:1.8.21=compileClasspath,runtimeClasspath org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-native-utils:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-native-utils:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-native-utils:1.8.21=compileClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-project-model:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-project-model:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-project-model:1.8.21=compileClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-reflect:1.7.10=compileClasspath,kotlinCompilerClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-sam-with-receiver:1.7.10=kotlinCompilerPluginClasspathMain -org.jetbrains.kotlin:kotlin-script-runtime:1.7.10=kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain -org.jetbrains.kotlin:kotlin-scripting-common:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-reflect:1.6.10=kotlinCompilerClasspath +org.jetbrains.kotlin:kotlin-reflect:1.7.10=runtimeClasspath +org.jetbrains.kotlin:kotlin-reflect:1.8.10=compileClasspath +org.jetbrains.kotlin:kotlin-sam-with-receiver:1.8.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-script-runtime:1.8.10=kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-scripting-common:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-scripting-common:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-scripting-jvm:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-scripting-jvm:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-scripting-jvm:1.8.21=runtimeClasspath -org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10=compileClasspath,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,runtimeClasspath -org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10=compileClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10=compileClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-stdlib:1.7.10=compileClasspath,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,runtimeClasspath -org.jetbrains.kotlin:kotlin-tooling-core:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10=runtimeClasspath +org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10=compileClasspath,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10=runtimeClasspath +org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.10=compileClasspath +org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10=runtimeClasspath +org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10=compileClasspath +org.jetbrains.kotlin:kotlin-stdlib:1.7.10=runtimeClasspath +org.jetbrains.kotlin:kotlin-stdlib:1.8.10=compileClasspath,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-tooling-core:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-tooling-core:1.8.21=compileClasspath,runtimeClasspath -org.jetbrains.kotlin:kotlin-util-io:1.7.10=kotlinCompilerPluginClasspathMain +org.jetbrains.kotlin:kotlin-util-io:1.8.10=kotlinCompilerPluginClasspathMain org.jetbrains.kotlin:kotlin-util-io:1.8.21=compileClasspath,runtimeClasspath org.jetbrains.kotlin:kotlin-util-klib:1.8.21=runtimeClasspath org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0=runtimeClasspath org.jetbrains:annotations:13.0=compileClasspath,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,runtimeClasspath -org.json:json:20180813=runtimeClasspath +org.json:json:20230227=runtimeClasspath org.jvnet.staxex:stax-ex:1.8.1=runtimeClasspath org.ow2.asm:asm-analysis:9.2=runtimeClasspath org.ow2.asm:asm-commons:9.2=runtimeClasspath @@ -160,7 +168,12 @@ org.ow2.asm:asm-util:9.2=runtimeClasspath org.ow2.asm:asm:9.2=compileClasspath,runtimeClasspath org.slf4j:slf4j-api:1.7.30=runtimeClasspath org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2=runtimeClasspath -wtf.emulator:gradle-plugin:0.9.4=compileClasspath,runtimeClasspath +wtf.emulator:gradle-compat-6-1:0.10.2=runtimeClasspath +wtf.emulator:gradle-compat-6-6:0.10.2=runtimeClasspath +wtf.emulator:gradle-compat-7-6:0.10.2=runtimeClasspath +wtf.emulator:gradle-compat-api:0.10.2=runtimeClasspath +wtf.emulator:gradle-compat:0.10.2=runtimeClasspath +wtf.emulator:gradle-plugin:0.10.2=compileClasspath,runtimeClasspath xerces:xercesImpl:2.12.0=runtimeClasspath xml-apis:xml-apis:1.4.01=runtimeClasspath empty=annotationProcessor,kotlinScriptDefExtensions diff --git a/demo-app/build.gradle.kts b/demo-app/build.gradle.kts index 8db7b800..7f1b2f1d 100644 --- a/demo-app/build.gradle.kts +++ b/demo-app/build.gradle.kts @@ -20,6 +20,7 @@ android { buildFeatures { compose = true viewBinding = true + buildConfig = true } composeOptions { diff --git a/gradle.properties b/gradle.properties index 251b4e21..7222d434 100644 --- a/gradle.properties +++ b/gradle.properties @@ -81,10 +81,10 @@ ANDROID_COMPILE_SDK_VERSION=33 # When changing this, be sure to update .github/actions/setup/action.yml ANDROID_NDK_VERSION=22.1.7171670 -ANDROID_GRADLE_PLUGIN_VERSION=7.4.0 +ANDROID_GRADLE_PLUGIN_VERSION=8.0.1 DETEKT_VERSION=1.22.0 DOKKA_VERSION=1.8.10 -EMULATOR_WTF_GRADLE_PLUGIN_VERSION=0.9.4 +EMULATOR_WTF_GRADLE_PLUGIN_VERSION=0.10.2 FLANK_VERSION=23.03.2 # When changing this, be sure to change build-conventions/gradle.properties#FOOJAY_TOOLCHAIN_RESOLVER_VERSION too FOOJAY_TOOLCHAIN_RESOLVER_VERSION=0.4.0 diff --git a/lightwallet-client-lib/build.gradle.kts b/lightwallet-client-lib/build.gradle.kts index 4787f521..d8c9a866 100644 --- a/lightwallet-client-lib/build.gradle.kts +++ b/lightwallet-client-lib/build.gradle.kts @@ -33,6 +33,10 @@ android { consumerProguardFiles("proguard-consumer.txt") } + buildFeatures { + buildConfig = true + } + buildTypes { getByName("debug").apply { isMinifyEnabled = false diff --git a/sdk-lib/build.gradle.kts b/sdk-lib/build.gradle.kts index 45b7af76..7306e0c0 100644 --- a/sdk-lib/build.gradle.kts +++ b/sdk-lib/build.gradle.kts @@ -35,6 +35,10 @@ android { consumerProguardFiles("proguard-consumer.txt") } + buildFeatures { + buildConfig = true + } + buildTypes { getByName("debug").apply { // test builds exceed the dex limit because they pull in large test libraries @@ -130,4 +134,12 @@ dependencies { } fun MinimalExternalModuleDependency.asCoordinateString() = - "${module.group}:${module.name}:${versionConstraint.displayName}" \ No newline at end of file + "${module.group}:${module.name}:${versionConstraint.displayName}" + +// Workaround for https://github.com/google/ksp/issues/1288 +kotlin { + jvmToolchain { + languageVersion.set(JavaLanguageVersion.of(8)) + vendor.set(JvmVendorSpec.AZUL) + } +}