Merge pull request #1385 from manosbatsis/fix-1384

fix(build): apply the R8 plugin to fix #1384
This commit is contained in:
Shabinder Singh 2022-05-29 14:39:43 +05:30 committed by GitHub
commit 6de4a0e106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@ allprojects {
maven(url = "https://jitpack.io")
maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven(url = "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
maven(url = "https://storage.googleapis.com/r8-releases/raw")
}
/*Fixes: Could not resolve org.nodejs:node*/
plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {

View File

@ -31,6 +31,7 @@ repositories {
dependencies {
with(deps) {
implementation(androidx.r8)
implementation(androidx.gradle.plugin)
implementation(kotlin.compose.gradle)
implementation(ktlint.gradle)

View File

@ -113,6 +113,7 @@ androidx-palette = { group = "androidx.palette", name = "palette-ktx", version =
androidx-coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "androidCoroutines" }
androidx-junit = { group = "androidx.test.ext", name = "junit", version = "1.1.2" }
androidx-expresso = { group = "androidx.test.espresso", name = "espresso-core", version = "3.3.0" }
androidx-r8 = { group = "com.android.tools", name = "r8", version = "3.3.28" }
androidx-gradle-plugin = { group = "com.android.tools.build", name = "gradle", version = "4.2.2" }
androidx-lifecycle-service = { group = "androidx.lifecycle", name = "lifecycle-service", version.ref = "androidxLifecycle" }
androidx-lifecycle-common = { group = "androidx.lifecycle", name = "lifecycle-common-java8", version.ref = "androidxLifecycle" }