Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Change Log
==========
## Version 4.0.2
- Bumped targetSdkVersion to 35
- Bumped to Gradle 8.0

## Version 4.0.1
- Fix: Ensure auth progress is preserved across configuration changes, preventing cases where a headless activity remains open and blocks user input.
Expand Down
19 changes: 14 additions & 5 deletions auth-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ plugins {
}

group = "com.spotify.android"
version = "4.0.1"
version = "4.0.2"

val archivesBaseName = "auth"

android {
compileSdk = 33
buildToolsVersion = "33.0.0"
compileSdk = 35
buildToolsVersion = "35.0.0"

buildFeatures {
buildConfig = true
}

defaultConfig {
minSdk = 16
targetSdk = 33
minSdk = 21
targetSdk = 35
buildConfigField("String", "LIB_VERSION_NAME", "\"${project.version}\"")
}

Expand Down Expand Up @@ -82,6 +82,15 @@ android {
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = "1.8"
}

lint {
lintConfig = file("${project.rootDir}/config/lint.xml")
quiet = false
Expand Down
17 changes: 13 additions & 4 deletions auth-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ plugins {
}

android {
compileSdk = 33
buildToolsVersion = "33.0.0"
compileSdk = 35
buildToolsVersion = "35.0.0"

signingConfigs {
getByName("debug") {
Expand All @@ -40,8 +40,8 @@ android {

defaultConfig {
applicationId = "com.spotify.sdk.android.authentication.sample"
minSdk = 16
targetSdk = 33
minSdk = 21
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand All @@ -66,6 +66,15 @@ android {
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = "1.8"
}

lint {
lintConfig = file("${project.rootDir}/config/lint.xml")
quiet = false
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ buildscript {
google()
}
dependencies {
classpath("com.android.tools.build:gradle:7.4.2")
classpath("com.android.tools.build:gradle:8.1.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.9.10")
}
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
signingEnabled=false
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
41 changes: 28 additions & 13 deletions gradlew

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

15 changes: 9 additions & 6 deletions gradlew.bat

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

Loading