buildscript {
repositories {
- jcenter()
+ mavenCentral()
google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:4.0.0'
+ classpath 'com.android.tools.build:gradle:7.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects {
repositories {
- jcenter()
+ mavenCentral()
google()
}
}
-apply plugin: 'java'
+apply plugin: 'java-library'
dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
+ api fileTree(dir: 'libs', include: ['*.jar'])
}
sourceCompatibility = "1.7"
}
android {
- compileSdkVersion 29
+ compileSdkVersion 31
defaultConfig {
applicationId "com.acmetensortoys.ctfwstimer"
minSdkVersion 16
- targetSdkVersion 29
+ targetSdkVersion 31
versionCode 16
versionName "1.4.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
- androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
+ androidTestImplementation('androidx.test.espresso:espresso-core:3.4.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
api project(":lib")
- api 'androidx.appcompat:appcompat:1.1.0'
+ api 'androidx.appcompat:appcompat:1.4.1'
api 'androidx.legacy:legacy-support-v4:1.0.0'
- api 'androidx.preference:preference:1.1.1'
- implementation 'androidx.annotation:annotation:1.1.0'
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+ api 'androidx.preference:preference:1.2.0'
+ implementation 'androidx.annotation:annotation:1.3.0'
+ implementation 'androidx.recyclerview:recyclerview:1.2.1'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
// Nah.
// wearApp project(':wear')
//// Needed for wear data synchronization; blech
// playApi 'com.google.android.gms:play-services-wearable:16.0.1'
- api 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.2'
+ api 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
api('org.eclipse.paho:org.eclipse.paho.android.service:1.1.1') {
exclude module: 'support-v4'
}
- testImplementation 'junit:junit:4.12'
+ testImplementation 'junit:junit:4.13.2'
}
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
package="com.acmetensortoys.ctfwstimer">
<!-- Required for Paho MQTT client -->
<application
android:allowBackup="true"
+ android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:networkSecurityConfig="@xml/network_security_config"
android:icon="@mipmap/ic_shield_1"
android:label="@string/app_name"
android:supportsRtl="true"
- android:theme="@style/AppTheme">
+ android:theme="@style/AppTheme"
+ tools:ignore="UnusedAttribute">
- <activity android:name=".activity.main.Activity">
+ <activity android:name=".activity.main.Activity"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<data-extraction-rules>
+ <cloud-backup>
+ <include domain="sharedpref" path="."/>
+ </cloud-backup>
+ <device-transfer>
+ <include domain="sharedpref" path="."/>
+ </device-transfer>
+</data-extraction-rules>
\ No newline at end of file