Skip to content

Commit

Permalink
Update project, dependencies, target sdk, build config & tools
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Miś <foss@patrykmis.com>
  • Loading branch information
PatrykMis committed Jan 30, 2025
1 parent 91d0758 commit 5634121
Show file tree
Hide file tree
Showing 12 changed files with 848 additions and 984 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 7 additions & 11 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ val keystorePropertiesFile = rootProject.file("keystore.properties")

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(21))
vendor.set(JvmVendorSpec.ADOPTIUM)
}
}
Expand All @@ -43,7 +43,7 @@ appVersion(VersionConfig.Type.DEV) {
android {
namespace = "com.neo.speaktouch"
compileSdk = 35
buildToolsVersion = "35.0.0"
buildToolsVersion = "35.0.1"

if (keystorePropertiesFile.canRead()) {
signingConfigs {
Expand All @@ -64,15 +64,7 @@ android {
configure<BasePluginExtension> { archivesName.set(rootProject.name) }

minSdk = 22
targetSdk = 34

resourceConfigurations.addAll(
listOf(
"en",
"pl",
"pt"
)
)
targetSdk = 35
}

buildTypes {
Expand All @@ -98,6 +90,10 @@ android {
buildConfig = true
}

androidResources {
localeFilters += listOf("en", "pl", "pt")
}

compileOptions {
kotlinOptions.freeCompilerArgs += "-Xcontext-receivers"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ object ServiceModule {
@Binds
@ServiceScoped
abstract fun providesContext(
service: Service
): Context
service: Service?
): Context?
}
}
2 changes: 1 addition & 1 deletion buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ dependencyResolutionManagement {
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
id("org.gradle.toolchains.foojay-resolver-convention") version("0.9.0")
}
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[versions]
agp = "8.6.1"
agp = "8.8.0"
androidx-appcompat = "1.7.0"
androidx-constraintlayout = "2.1.4"
androidx-core = "1.13.1"
androidx-constraintlayout = "2.2.0"
androidx-core = "1.15.0"
dagger = "2.52"
kotlin = "2.0.20"
ksp = "2.0.20-1.0.25"
kotlin = "2.0.21"
ksp = "2.0.21-1.0.28"
material = "1.12.0"
robolectric = "4.13"
robolectric = "4.14.1"
test-junit = "4.13.2"
timber = "5.0.1"

Expand Down
Loading

0 comments on commit 5634121

Please sign in to comment.