Nikita Lipsky
2 years ago
committed by
GitHub
6 changed files with 61 additions and 37 deletions
@ -1,22 +1,18 @@
|
||||
buildscript { |
||||
repositories { |
||||
gradlePluginPortal() |
||||
google() |
||||
mavenCentral() |
||||
mavenLocal() |
||||
} |
||||
dependencies { |
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20") |
||||
classpath("com.android.tools.build:gradle:7.3.1") |
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.2.1") |
||||
} |
||||
plugins { |
||||
// this is necessary to avoid the plugins to be loaded multiple times |
||||
// in each subproject's classloader |
||||
kotlin("jvm") apply false |
||||
kotlin("multiplatform") apply false |
||||
kotlin("android") apply false |
||||
id("com.android.application") apply false |
||||
id("com.android.library") apply false |
||||
id("org.jetbrains.compose") apply false |
||||
} |
||||
|
||||
allprojects { |
||||
subprojects { |
||||
repositories { |
||||
google() |
||||
mavenCentral() |
||||
mavenLocal() |
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
||||
} |
||||
} |
||||
} |
||||
|
@ -1,22 +1,18 @@
|
||||
buildscript { |
||||
repositories { |
||||
gradlePluginPortal() |
||||
google() |
||||
mavenCentral() |
||||
mavenLocal() |
||||
} |
||||
dependencies { |
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20") |
||||
classpath("com.android.tools.build:gradle:7.3.1") |
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:1.2.1") |
||||
} |
||||
plugins { |
||||
// this is necessary to avoid the plugins to be loaded multiple times |
||||
// in each subproject's classloader |
||||
kotlin("jvm") apply false |
||||
kotlin("multiplatform") apply false |
||||
kotlin("android") apply false |
||||
id("com.android.application") apply false |
||||
id("com.android.library") apply false |
||||
id("org.jetbrains.compose") apply false |
||||
} |
||||
|
||||
allprojects { |
||||
subprojects { |
||||
repositories { |
||||
google() |
||||
mavenCentral() |
||||
mavenLocal() |
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue