Skip to content

Commit 4db9bb6

Browse files
committed
fix gradle
1 parent b098091 commit 4db9bb6

File tree

9 files changed

+23
-43
lines changed

9 files changed

+23
-43
lines changed

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

core/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion(appConfig.compileSdkVersion)
8-
buildToolsVersion(appConfig.buildToolsVersion)
7+
compileSdk = appConfig.compileSdkVersion
8+
buildToolsVersion = appConfig.buildToolsVersion
99

1010
defaultConfig {
11-
minSdkVersion(appConfig.minSdkVersion)
12-
targetSdkVersion(appConfig.targetSdkVersion)
13-
versionCode = appConfig.versionCode
14-
versionName = appConfig.versionName
11+
minSdk = appConfig.minSdkVersion
12+
targetSdk = appConfig.targetSdkVersion
1513

1614
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1715
}

data/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion(appConfig.compileSdkVersion)
8-
buildToolsVersion(appConfig.buildToolsVersion)
7+
compileSdk = appConfig.compileSdkVersion
8+
buildToolsVersion = appConfig.buildToolsVersion
99

1010
defaultConfig {
11-
minSdkVersion(appConfig.minSdkVersion)
12-
targetSdkVersion(appConfig.targetSdkVersion)
13-
versionCode = appConfig.versionCode
14-
versionName = appConfig.versionName
11+
minSdk = appConfig.minSdkVersion
12+
targetSdk = appConfig.targetSdkVersion
1513

1614
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1715
}

feature-add/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion(appConfig.compileSdkVersion)
8-
buildToolsVersion(appConfig.buildToolsVersion)
7+
compileSdk = appConfig.compileSdkVersion
8+
buildToolsVersion = appConfig.buildToolsVersion
99

1010
defaultConfig {
11-
minSdkVersion(appConfig.minSdkVersion)
12-
targetSdkVersion(appConfig.targetSdkVersion)
13-
versionCode = appConfig.versionCode
14-
versionName = appConfig.versionName
11+
minSdk = appConfig.minSdkVersion
12+
targetSdk = appConfig.targetSdkVersion
1513

1614
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1715
}

feature-main/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion(appConfig.compileSdkVersion)
8-
buildToolsVersion(appConfig.buildToolsVersion)
7+
compileSdk = appConfig.compileSdkVersion
8+
buildToolsVersion = appConfig.buildToolsVersion
99

1010
defaultConfig {
11-
minSdkVersion(appConfig.minSdkVersion)
12-
targetSdkVersion(appConfig.targetSdkVersion)
13-
versionCode = appConfig.versionCode
14-
versionName = appConfig.versionName
11+
minSdk = appConfig.minSdkVersion
12+
targetSdk = appConfig.targetSdkVersion
1513

1614
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1715
}

feature-search/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ plugins {
55
}
66

77
android {
8-
compileSdkVersion(appConfig.compileSdkVersion)
9-
buildToolsVersion(appConfig.buildToolsVersion)
8+
compileSdk = appConfig.compileSdkVersion
9+
buildToolsVersion = appConfig.buildToolsVersion
1010

1111
defaultConfig {
12-
minSdkVersion(appConfig.minSdkVersion)
13-
targetSdkVersion(appConfig.targetSdkVersion)
14-
versionCode = appConfig.versionCode
15-
versionName = appConfig.versionName
12+
minSdk = appConfig.minSdkVersion
13+
targetSdk = appConfig.targetSdkVersion
1614

1715
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1816
}

0 commit comments

Comments
 (0)