From 3044912c645e2bcdd57f78768159609f6992123d Mon Sep 17 00:00:00 2001 From: Marco Gomiero Date: Fri, 22 Oct 2021 13:19:27 +0200 Subject: [PATCH] Fix build issue with KMP --- build.gradle | 7 ------- shared/build.gradle.kts | 11 ----------- 2 files changed, 18 deletions(-) diff --git a/build.gradle b/build.gradle index 6fb122c..f7a73f0 100644 --- a/build.gradle +++ b/build.gradle @@ -5,14 +5,7 @@ task clean(type: Delete) { } buildscript { - ext.kotlin_version = '1.6.0-RC' ext { compose_version = '1.0.4' } - repositories { - mavenCentral() - } - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } } diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 2209e29..9511c64 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -1,11 +1,7 @@ -val kotlin_version: String by extra plugins { kotlin("multiplatform") version "1.5.31" id("com.android.library") } -apply { - plugin("kotlin-android") -} android { compileSdk = 31 @@ -25,11 +21,4 @@ kotlin { } -} -dependencies { - implementation("androidx.core:core-ktx:+") - implementation(kotlinModule("stdlib-jdk7", kotlin_version)) -} -repositories { - mavenCentral() } \ No newline at end of file