Skip to content

Commit e6eb354

Browse files
committed
Gradle 9.0 deprecation warnings fixed.
1 parent e3cf743 commit e6eb354

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

mobile/build.gradle

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ if (new File(getRootDir().absolutePath + "/buildSrc").exists() || project.plugin
1313
}
1414

1515
android {
16-
namespace 'io.syslogic.cloudbuild'
16+
namespace = 'io.syslogic.cloudbuild'
1717
buildToolsVersion = '35.0.0'
1818
defaultConfig {
19-
applicationId 'io.syslogic.cloudbuild'
20-
minSdk 22
21-
compileSdk 35
22-
targetSdk 35
23-
versionCode 2
24-
versionName "1.0.1"
19+
applicationId = 'io.syslogic.cloudbuild'
20+
minSdk = 22
21+
compileSdk = 35
22+
targetSdk = 35
23+
versionCode = 2
24+
versionName = "1.0.1"
2525
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
26-
testBuildType "debug"
27-
multiDexEnabled true
26+
testBuildType = "debug"
27+
multiDexEnabled = true
2828
}
2929

3030
compileOptions {
@@ -33,8 +33,8 @@ android {
3333
}
3434

3535
buildFeatures {
36-
buildConfig true
37-
dataBinding false
36+
dataBinding = false
37+
buildConfig = true
3838
}
3939

4040
if (rootProject.file('keystore.properties').exists()) {
@@ -78,11 +78,11 @@ android {
7878
}
7979

8080
lint {
81-
lintConfig project.file('lint.xml')
82-
checkAllWarnings true
83-
warningsAsErrors true
84-
abortOnError false
85-
showAll false
81+
lintConfig = project.file('lint.xml')
82+
checkAllWarnings = true
83+
warningsAsErrors = true
84+
abortOnError = false
85+
showAll = false
8686
}
8787
}
8888

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import org.gradle.api.initialization.resolve.RepositoriesMode
33
pluginManagement {
44
repositories {
55
gradlePluginPortal()
6-
maven { url 'https://jitpack.io' }
6+
maven { url = 'https://jitpack.io' }
77
google()
88
mavenCentral()
99
}

0 commit comments

Comments
 (0)