Skip to content

Commit

Permalink
Update Android target SDK version to 31 (close #526)
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-tomlein committed Jun 28, 2022
1 parent 40befe5 commit 1433820
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions snowplow-demo-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ project.ext {
}

android {
compileSdkVersion 30
compileSdkVersion 31
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.snowplowanalytics.snowplowtrackerdemo"
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
versionCode 3
versionName "0.3.0"
}
Expand Down Expand Up @@ -46,8 +46,8 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-extensions:$project.archLifecycleVersion"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':snowplow-android-tracker')
implementation 'androidx.browser:browser:1.3.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.browser:browser:1.4.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.google.code.gson:gson:2.9.0'
}
3 changes: 2 additions & 1 deletion snowplow-demo-app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait">
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
10 changes: 5 additions & 5 deletions snowplow-tracker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ project.ext {
}

android {
compileSdkVersion 30
buildToolsVersion "29.0.3"
compileSdkVersion 31
buildToolsVersion "30.0.2"

useLibrary 'android.test.base'

defaultConfig {
// With API 24: Remove `androidx.appcompat:appcompat` as it's needed for Consumer<T>.
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
versionCode 1
versionName "$project.version"

Expand Down Expand Up @@ -77,8 +77,8 @@ android {
}

dependencies {
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.annotation:annotation:1.4.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
compileOnly "androidx.lifecycle:lifecycle-extensions:$project.archLifecycleVersion"
compileOnly "com.android.installreferrer:installreferrer:2.2"
implementation fileTree(dir: 'libs', include: ['*.jar'])
Expand Down

0 comments on commit 1433820

Please sign in to comment.