diff --git a/BroadcastWidgetExample/.idea/caches/build_file_checksums.ser b/BroadcastWidgetExample/.idea/caches/build_file_checksums.ser
new file mode 100644
index 0000000..0e56a5c
Binary files /dev/null and b/BroadcastWidgetExample/.idea/caches/build_file_checksums.ser differ
diff --git a/BroadcastWidgetExample/.idea/codeStyles/Project.xml b/BroadcastWidgetExample/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..681f41a
--- /dev/null
+++ b/BroadcastWidgetExample/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BroadcastWidgetExample/.idea/gradle.xml b/BroadcastWidgetExample/.idea/gradle.xml
index 7ac24c7..5cd135a 100644
--- a/BroadcastWidgetExample/.idea/gradle.xml
+++ b/BroadcastWidgetExample/.idea/gradle.xml
@@ -1,8 +1,10 @@
+
+
diff --git a/BroadcastWidgetExample/.idea/jarRepositories.xml b/BroadcastWidgetExample/.idea/jarRepositories.xml
new file mode 100644
index 0000000..55129f3
--- /dev/null
+++ b/BroadcastWidgetExample/.idea/jarRepositories.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BroadcastWidgetExample/.idea/misc.xml b/BroadcastWidgetExample/.idea/misc.xml
index ea75f51..d9e4d0f 100644
--- a/BroadcastWidgetExample/.idea/misc.xml
+++ b/BroadcastWidgetExample/.idea/misc.xml
@@ -50,25 +50,12 @@
-
-
-
-
-
-
-
-
-
-
-
+
-
- $USER_HOME$/.subversion
-
diff --git a/BroadcastWidgetExample/.idea/modules.xml b/BroadcastWidgetExample/.idea/modules.xml
index 4edb122..1bdfcc8 100644
--- a/BroadcastWidgetExample/.idea/modules.xml
+++ b/BroadcastWidgetExample/.idea/modules.xml
@@ -3,6 +3,8 @@
+
+
diff --git a/BroadcastWidgetExample/app/build.gradle b/BroadcastWidgetExample/app/build.gradle
index 95773b6..99a1d41 100644
--- a/BroadcastWidgetExample/app/build.gradle
+++ b/BroadcastWidgetExample/app/build.gradle
@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 24
- buildToolsVersion "24.0.0"
+ compileSdkVersion 30
+
defaultConfig {
applicationId "com.erenutku.broadcastwidgetexample"
minSdkVersion 17
- targetSdkVersion 24
+ targetSdkVersion 30
versionCode 1
versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
@@ -20,10 +20,10 @@ android {
}
dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
- compile 'com.android.support:appcompat-v7:24.2.1'
- testCompile 'junit:junit:4.12'
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ testImplementation 'junit:junit:4.13'
}
diff --git a/BroadcastWidgetExample/app/src/androidTest/java/com/erenutku/broadcastwidgetexample/ExampleInstrumentedTest.java b/BroadcastWidgetExample/app/src/androidTest/java/com/erenutku/broadcastwidgetexample/ExampleInstrumentedTest.java
index e9eb4c1..d580da3 100644
--- a/BroadcastWidgetExample/app/src/androidTest/java/com/erenutku/broadcastwidgetexample/ExampleInstrumentedTest.java
+++ b/BroadcastWidgetExample/app/src/androidTest/java/com/erenutku/broadcastwidgetexample/ExampleInstrumentedTest.java
@@ -1,8 +1,8 @@
package com.erenutku.broadcastwidgetexample;
import android.content.Context;
-import android.support.test.InstrumentationRegistry;
-import android.support.test.runner.AndroidJUnit4;
+import androidx.test.platform.app.InstrumentationRegistry;
+import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
diff --git a/BroadcastWidgetExample/app/src/main/java/com/erenutku/broadcastwidgetexample/MainActivity.java b/BroadcastWidgetExample/app/src/main/java/com/erenutku/broadcastwidgetexample/MainActivity.java
index b51e9af..fdca20b 100644
--- a/BroadcastWidgetExample/app/src/main/java/com/erenutku/broadcastwidgetexample/MainActivity.java
+++ b/BroadcastWidgetExample/app/src/main/java/com/erenutku/broadcastwidgetexample/MainActivity.java
@@ -1,6 +1,6 @@
package com.erenutku.broadcastwidgetexample;
-import android.support.v7.app.AppCompatActivity;
+import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
diff --git a/BroadcastWidgetExample/build.gradle b/BroadcastWidgetExample/build.gradle
index 74b2ab0..7d34715 100644
--- a/BroadcastWidgetExample/build.gradle
+++ b/BroadcastWidgetExample/build.gradle
@@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.3'
+ classpath 'com.android.tools.build:gradle:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
+ google()
}
}
diff --git a/BroadcastWidgetExample/gradle.properties b/BroadcastWidgetExample/gradle.properties
index aac7c9b..9e6fce1 100644
--- a/BroadcastWidgetExample/gradle.properties
+++ b/BroadcastWidgetExample/gradle.properties
@@ -9,6 +9,8 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
+android.enableJetifier=true
+android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
diff --git a/BroadcastWidgetExample/gradle/wrapper/gradle-wrapper.properties b/BroadcastWidgetExample/gradle/wrapper/gradle-wrapper.properties
index 04e285f..14ee819 100644
--- a/BroadcastWidgetExample/gradle/wrapper/gradle-wrapper.properties
+++ b/BroadcastWidgetExample/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Dec 28 10:00:20 PST 2015
+#Sun Jul 12 09:46:13 IST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/ConfigurableWidgetExample/.idea/caches/build_file_checksums.ser b/ConfigurableWidgetExample/.idea/caches/build_file_checksums.ser
new file mode 100644
index 0000000..d47fad6
Binary files /dev/null and b/ConfigurableWidgetExample/.idea/caches/build_file_checksums.ser differ
diff --git a/ConfigurableWidgetExample/.idea/codeStyles/Project.xml b/ConfigurableWidgetExample/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..681f41a
--- /dev/null
+++ b/ConfigurableWidgetExample/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ConfigurableWidgetExample/.idea/gradle.xml b/ConfigurableWidgetExample/.idea/gradle.xml
index 7ac24c7..5cd135a 100644
--- a/ConfigurableWidgetExample/.idea/gradle.xml
+++ b/ConfigurableWidgetExample/.idea/gradle.xml
@@ -1,8 +1,10 @@
+
+
diff --git a/ConfigurableWidgetExample/.idea/jarRepositories.xml b/ConfigurableWidgetExample/.idea/jarRepositories.xml
new file mode 100644
index 0000000..55129f3
--- /dev/null
+++ b/ConfigurableWidgetExample/.idea/jarRepositories.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ConfigurableWidgetExample/.idea/misc.xml b/ConfigurableWidgetExample/.idea/misc.xml
index 973695b..77c1a04 100644
--- a/ConfigurableWidgetExample/.idea/misc.xml
+++ b/ConfigurableWidgetExample/.idea/misc.xml
@@ -27,5 +27,5 @@
-
+
\ No newline at end of file
diff --git a/ConfigurableWidgetExample/.idea/modules.xml b/ConfigurableWidgetExample/.idea/modules.xml
index a783cd2..cece731 100644
--- a/ConfigurableWidgetExample/.idea/modules.xml
+++ b/ConfigurableWidgetExample/.idea/modules.xml
@@ -3,6 +3,8 @@
+
+
diff --git a/ConfigurableWidgetExample/app/build.gradle b/ConfigurableWidgetExample/app/build.gradle
index c8f10e2..2a683be 100644
--- a/ConfigurableWidgetExample/app/build.gradle
+++ b/ConfigurableWidgetExample/app/build.gradle
@@ -1,15 +1,14 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 24
- buildToolsVersion "24.0.0"
+ compileSdkVersion 30
defaultConfig {
applicationId "com.erenutku.configurablewidgetexample"
minSdkVersion 17
- targetSdkVersion 24
+ targetSdkVersion 30
versionCode 1
versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
@@ -20,10 +19,10 @@ android {
}
dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
- compile 'com.android.support:appcompat-v7:24.2.1'
- testCompile 'junit:junit:4.12'
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ testImplementation 'junit:junit:4.13'
}
diff --git a/ConfigurableWidgetExample/app/src/androidTest/java/com/erenutku/configurablewidgetexample/ExampleInstrumentedTest.java b/ConfigurableWidgetExample/app/src/androidTest/java/com/erenutku/configurablewidgetexample/ExampleInstrumentedTest.java
index 7270129..6536dee 100644
--- a/ConfigurableWidgetExample/app/src/androidTest/java/com/erenutku/configurablewidgetexample/ExampleInstrumentedTest.java
+++ b/ConfigurableWidgetExample/app/src/androidTest/java/com/erenutku/configurablewidgetexample/ExampleInstrumentedTest.java
@@ -1,8 +1,8 @@
package com.erenutku.configurablewidgetexample;
import android.content.Context;
-import android.support.test.InstrumentationRegistry;
-import android.support.test.runner.AndroidJUnit4;
+import androidx.test.platform.app.InstrumentationRegistry;
+import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
diff --git a/ConfigurableWidgetExample/app/src/main/java/com/erenutku/configurablewidgetexample/MainActivity.java b/ConfigurableWidgetExample/app/src/main/java/com/erenutku/configurablewidgetexample/MainActivity.java
index c91c43a..099bb7e 100644
--- a/ConfigurableWidgetExample/app/src/main/java/com/erenutku/configurablewidgetexample/MainActivity.java
+++ b/ConfigurableWidgetExample/app/src/main/java/com/erenutku/configurablewidgetexample/MainActivity.java
@@ -1,6 +1,6 @@
package com.erenutku.configurablewidgetexample;
-import android.support.v7.app.AppCompatActivity;
+import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
diff --git a/ConfigurableWidgetExample/build.gradle b/ConfigurableWidgetExample/build.gradle
index c20bca1..7d34715 100644
--- a/ConfigurableWidgetExample/build.gradle
+++ b/ConfigurableWidgetExample/build.gradle
@@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.2'
+ classpath 'com.android.tools.build:gradle:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
+ google()
}
}
diff --git a/ConfigurableWidgetExample/gradle.properties b/ConfigurableWidgetExample/gradle.properties
index aac7c9b..9e6fce1 100644
--- a/ConfigurableWidgetExample/gradle.properties
+++ b/ConfigurableWidgetExample/gradle.properties
@@ -9,6 +9,8 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
+android.enableJetifier=true
+android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
diff --git a/ConfigurableWidgetExample/gradle/wrapper/gradle-wrapper.properties b/ConfigurableWidgetExample/gradle/wrapper/gradle-wrapper.properties
index 04e285f..754376e 100644
--- a/ConfigurableWidgetExample/gradle/wrapper/gradle-wrapper.properties
+++ b/ConfigurableWidgetExample/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Dec 28 10:00:20 PST 2015
+#Sun Jul 12 09:50:52 IST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/SimpleWidgetExample/.idea/caches/build_file_checksums.ser b/SimpleWidgetExample/.idea/caches/build_file_checksums.ser
new file mode 100644
index 0000000..b7ac9a7
Binary files /dev/null and b/SimpleWidgetExample/.idea/caches/build_file_checksums.ser differ
diff --git a/SimpleWidgetExample/.idea/codeStyles/Project.xml b/SimpleWidgetExample/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..681f41a
--- /dev/null
+++ b/SimpleWidgetExample/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SimpleWidgetExample/.idea/gradle.xml b/SimpleWidgetExample/.idea/gradle.xml
index 7ac24c7..5cd135a 100644
--- a/SimpleWidgetExample/.idea/gradle.xml
+++ b/SimpleWidgetExample/.idea/gradle.xml
@@ -1,8 +1,10 @@
+
+
diff --git a/SimpleWidgetExample/.idea/jarRepositories.xml b/SimpleWidgetExample/.idea/jarRepositories.xml
new file mode 100644
index 0000000..55129f3
--- /dev/null
+++ b/SimpleWidgetExample/.idea/jarRepositories.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SimpleWidgetExample/.idea/misc.xml b/SimpleWidgetExample/.idea/misc.xml
index b23abb6..0672661 100644
--- a/SimpleWidgetExample/.idea/misc.xml
+++ b/SimpleWidgetExample/.idea/misc.xml
@@ -12,21 +12,36 @@
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
@@ -53,9 +68,6 @@
-
- $USER_HOME$/.subversion
-
diff --git a/SimpleWidgetExample/.idea/modules.xml b/SimpleWidgetExample/.idea/modules.xml
index faceb2e..beb11af 100644
--- a/SimpleWidgetExample/.idea/modules.xml
+++ b/SimpleWidgetExample/.idea/modules.xml
@@ -3,8 +3,8 @@
-
-
+
+
diff --git a/SimpleWidgetExample/app/build.gradle b/SimpleWidgetExample/app/build.gradle
index f6fa012..9b2d8d7 100644
--- a/SimpleWidgetExample/app/build.gradle
+++ b/SimpleWidgetExample/app/build.gradle
@@ -1,15 +1,14 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 24
- buildToolsVersion "24.0.0"
+ compileSdkVersion 30
defaultConfig {
applicationId "com.erenutku.simplewidgetexample"
minSdkVersion 17
- targetSdkVersion 24
+ targetSdkVersion 30
versionCode 1
versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
@@ -20,10 +19,10 @@ android {
}
dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
- compile 'com.android.support:appcompat-v7:24.2.1'
- testCompile 'junit:junit:4.12'
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ testImplementation 'junit:junit:4.13'
}
diff --git a/SimpleWidgetExample/app/src/androidTest/java/com/erenutku/simplewidgetexample/ExampleInstrumentedTest.java b/SimpleWidgetExample/app/src/androidTest/java/com/erenutku/simplewidgetexample/ExampleInstrumentedTest.java
index 89923c7..14c2e81 100644
--- a/SimpleWidgetExample/app/src/androidTest/java/com/erenutku/simplewidgetexample/ExampleInstrumentedTest.java
+++ b/SimpleWidgetExample/app/src/androidTest/java/com/erenutku/simplewidgetexample/ExampleInstrumentedTest.java
@@ -1,8 +1,8 @@
package com.erenutku.simplewidgetexample;
import android.content.Context;
-import android.support.test.InstrumentationRegistry;
-import android.support.test.runner.AndroidJUnit4;
+import androidx.test.platform.app.InstrumentationRegistry;
+import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
diff --git a/SimpleWidgetExample/app/src/main/java/com/erenutku/simplewidgetexample/MainActivity.java b/SimpleWidgetExample/app/src/main/java/com/erenutku/simplewidgetexample/MainActivity.java
index 6b41789..07a789e 100644
--- a/SimpleWidgetExample/app/src/main/java/com/erenutku/simplewidgetexample/MainActivity.java
+++ b/SimpleWidgetExample/app/src/main/java/com/erenutku/simplewidgetexample/MainActivity.java
@@ -1,6 +1,6 @@
package com.erenutku.simplewidgetexample;
-import android.support.v7.app.AppCompatActivity;
+import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
diff --git a/SimpleWidgetExample/build.gradle b/SimpleWidgetExample/build.gradle
index 74b2ab0..7d34715 100644
--- a/SimpleWidgetExample/build.gradle
+++ b/SimpleWidgetExample/build.gradle
@@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.3'
+ classpath 'com.android.tools.build:gradle:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
+ google()
}
}
diff --git a/SimpleWidgetExample/gradle.properties b/SimpleWidgetExample/gradle.properties
index aac7c9b..9e6fce1 100644
--- a/SimpleWidgetExample/gradle.properties
+++ b/SimpleWidgetExample/gradle.properties
@@ -9,6 +9,8 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
+android.enableJetifier=true
+android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
diff --git a/SimpleWidgetExample/gradle/wrapper/gradle-wrapper.properties b/SimpleWidgetExample/gradle/wrapper/gradle-wrapper.properties
index 04e285f..1bc6343 100644
--- a/SimpleWidgetExample/gradle/wrapper/gradle-wrapper.properties
+++ b/SimpleWidgetExample/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Dec 28 10:00:20 PST 2015
+#Sun Jul 12 09:53:04 IST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/UpdatingWidgetExample/.idea/caches/build_file_checksums.ser b/UpdatingWidgetExample/.idea/caches/build_file_checksums.ser
new file mode 100644
index 0000000..4f125b1
Binary files /dev/null and b/UpdatingWidgetExample/.idea/caches/build_file_checksums.ser differ
diff --git a/UpdatingWidgetExample/.idea/codeStyles/Project.xml b/UpdatingWidgetExample/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..681f41a
--- /dev/null
+++ b/UpdatingWidgetExample/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/UpdatingWidgetExample/.idea/gradle.xml b/UpdatingWidgetExample/.idea/gradle.xml
index 7ac24c7..5cd135a 100644
--- a/UpdatingWidgetExample/.idea/gradle.xml
+++ b/UpdatingWidgetExample/.idea/gradle.xml
@@ -1,8 +1,10 @@
+
+
diff --git a/UpdatingWidgetExample/.idea/jarRepositories.xml b/UpdatingWidgetExample/.idea/jarRepositories.xml
new file mode 100644
index 0000000..55129f3
--- /dev/null
+++ b/UpdatingWidgetExample/.idea/jarRepositories.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/UpdatingWidgetExample/.idea/misc.xml b/UpdatingWidgetExample/.idea/misc.xml
index 060777c..28b4965 100644
--- a/UpdatingWidgetExample/.idea/misc.xml
+++ b/UpdatingWidgetExample/.idea/misc.xml
@@ -15,21 +15,36 @@
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
@@ -50,17 +65,7 @@
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/UpdatingWidgetExample/.idea/modules.xml b/UpdatingWidgetExample/.idea/modules.xml
new file mode 100644
index 0000000..55f38d9
--- /dev/null
+++ b/UpdatingWidgetExample/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/UpdatingWidgetExample/.idea/vcs.xml b/UpdatingWidgetExample/.idea/vcs.xml
new file mode 100644
index 0000000..6c0b863
--- /dev/null
+++ b/UpdatingWidgetExample/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/UpdatingWidgetExample/app/build.gradle b/UpdatingWidgetExample/app/build.gradle
index baa6eb4..ff78fb9 100644
--- a/UpdatingWidgetExample/app/build.gradle
+++ b/UpdatingWidgetExample/app/build.gradle
@@ -1,15 +1,14 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 24
- buildToolsVersion "24.0.0"
+ compileSdkVersion 30
defaultConfig {
applicationId "com.erenutku.updatingwidgetexample"
minSdkVersion 17
- targetSdkVersion 24
+ targetSdkVersion 30
versionCode 1
versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
@@ -20,10 +19,10 @@ android {
}
dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
- compile 'com.android.support:appcompat-v7:24.2.1'
- testCompile 'junit:junit:4.12'
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ testImplementation 'junit:junit:4.13'
}
diff --git a/UpdatingWidgetExample/app/src/androidTest/java/com/erenutku/updatingwidgetexample/ExampleInstrumentedTest.java b/UpdatingWidgetExample/app/src/androidTest/java/com/erenutku/updatingwidgetexample/ExampleInstrumentedTest.java
index df98e49..9520188 100644
--- a/UpdatingWidgetExample/app/src/androidTest/java/com/erenutku/updatingwidgetexample/ExampleInstrumentedTest.java
+++ b/UpdatingWidgetExample/app/src/androidTest/java/com/erenutku/updatingwidgetexample/ExampleInstrumentedTest.java
@@ -1,8 +1,8 @@
package com.erenutku.updatingwidgetexample;
import android.content.Context;
-import android.support.test.InstrumentationRegistry;
-import android.support.test.runner.AndroidJUnit4;
+import androidx.test.platform.app.InstrumentationRegistry;
+import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
diff --git a/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/MainActivity.java b/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/MainActivity.java
index f12c359..2f1b245 100644
--- a/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/MainActivity.java
+++ b/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/MainActivity.java
@@ -1,6 +1,6 @@
package com.erenutku.updatingwidgetexample;
-import android.support.v7.app.AppCompatActivity;
+import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
diff --git a/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/UpdateService.java b/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/UpdateService.java
index 1d1e452..5e22894 100644
--- a/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/UpdateService.java
+++ b/UpdatingWidgetExample/app/src/main/java/com/erenutku/updatingwidgetexample/UpdateService.java
@@ -5,7 +5,7 @@
import android.content.ComponentName;
import android.content.Intent;
import android.os.IBinder;
-import android.support.annotation.Nullable;
+import androidx.annotation.Nullable;
import android.widget.RemoteViews;
import java.util.Random;
diff --git a/UpdatingWidgetExample/build.gradle b/UpdatingWidgetExample/build.gradle
index 74b2ab0..7d34715 100644
--- a/UpdatingWidgetExample/build.gradle
+++ b/UpdatingWidgetExample/build.gradle
@@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.3'
+ classpath 'com.android.tools.build:gradle:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
+ google()
}
}
diff --git a/UpdatingWidgetExample/gradle.properties b/UpdatingWidgetExample/gradle.properties
index aac7c9b..9e6fce1 100644
--- a/UpdatingWidgetExample/gradle.properties
+++ b/UpdatingWidgetExample/gradle.properties
@@ -9,6 +9,8 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
+android.enableJetifier=true
+android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
diff --git a/UpdatingWidgetExample/gradle/wrapper/gradle-wrapper.properties b/UpdatingWidgetExample/gradle/wrapper/gradle-wrapper.properties
index 04e285f..c2dc37a 100644
--- a/UpdatingWidgetExample/gradle/wrapper/gradle-wrapper.properties
+++ b/UpdatingWidgetExample/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Dec 28 10:00:20 PST 2015
+#Sun Jul 12 09:55:22 IST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip