File tree 3 files changed +23
-25
lines changed
3 files changed +23
-25
lines changed Original file line number Diff line number Diff line change 1
- apply plugin : ' com.android.application'
2
- apply plugin : ' kotlin-android'
3
- apply plugin : ' kotlinx-serialization'
4
-
1
+ plugins {
2
+ id ' com.android.application'
3
+ id ' org.jetbrains.kotlin.android'
4
+ id ' org.jetbrains.kotlin.plugin.serialization'
5
+ }
5
6
android {
6
7
compileSdkVersion 32
7
8
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
- buildscript {
3
- ext. kotlin_version = " 1.6.21"
4
- repositories {
5
- google()
6
- mavenCentral()
7
- }
8
- dependencies {
9
- classpath ' com.android.tools.build:gradle:7.1.3'
10
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
- classpath " org.jetbrains.kotlin:kotlin-serialization:$kotlin_version "
12
-
13
- // NOTE: Do not place your application dependencies here; they belong
14
- // in the individual module build.gradle files
15
- }
16
- }
17
-
18
- allprojects {
19
- repositories {
20
- google()
21
- mavenCentral()
22
- }
2
+ plugins {
3
+ id ' com.android.application' version ' 7.1.3' apply false
4
+ id ' org.jetbrains.kotlin.android' version ' 1.6.21' apply false
5
+ id ' org.jetbrains.kotlin.plugin.serialization' version ' 1.6.21' apply false
23
6
}
24
7
25
8
task clean (type : Delete ) {
Original file line number Diff line number Diff line change
1
+ pluginManagement {
2
+ repositories {
3
+ gradlePluginPortal()
4
+ google()
5
+ mavenCentral()
6
+ }
7
+ }
8
+ dependencyResolutionManagement {
9
+ repositories {
10
+ repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
11
+ google()
12
+ mavenCentral()
13
+ }
14
+ }
1
15
include ' :app'
2
16
rootProject. name = " Superheroes App"
You can’t perform that action at this time.
0 commit comments