Skip to content

Commit

Permalink
Update SDK to 33
Browse files Browse the repository at this point in the history
Updated Android SDK version to 33 to comply with Google Play.
  • Loading branch information
perssonmagnus committed Oct 11, 2023
1 parent d39a9ee commit ae525d8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
27 changes: 13 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ android {
signingConfigs {

}
compileSdkVersion 29
buildToolsVersion '26.0.3'
compileSdkVersion 33
defaultConfig {
applicationId "com.ublox.BLE"
minSdkVersion 18
targetSdkVersion 29
versionCode 19
versionName "2.9.1"
targetSdkVersion 33
versionCode 20
versionName "2.9.2"
vectorDrawables.useSupportLibrary = true

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -38,13 +37,13 @@ android {
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation project(':meshprovision')
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v13:28.0.0'
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest:2.1'
testCompile 'org.mockito:mockito-core:2.28.2'
androidTestCompile 'com.android.support.test:runner:1.0.2'
androidTestCompile 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestCompile 'com.android.support.test.espresso:espresso-intents:3.0.2'
androidTestCompile 'org.mockito:mockito-android:2.6.3'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:support-v13:28.0.0'
testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:hamcrest:2.1'
testImplementation 'org.mockito:mockito-core:2.28.2'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2'
androidTestImplementation 'org.mockito:mockito-android:2.6.3'
}
4 changes: 3 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-feature
Expand All @@ -19,6 +20,7 @@
android:theme="@style/AppTheme">
<activity
android:name=".activities.DevicesActivity"
android:exported="true"
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.4.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ae525d8

Please sign in to comment.