Skip to content

Commit b77a91a

Browse files
authored
Merge pull request #946 from wordpress-mobile/drop-jetifier
Drop jetifier
2 parents c4fc5a2 + c4198cc commit b77a91a

File tree

12 files changed

+14
-14
lines changed

12 files changed

+14
-14
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88

99
defaultConfig {
1010
applicationId "org.wordpress.aztec"
11-
minSdkVersion 16
11+
minSdkVersion commonMinSdkVersion
1212
targetSdkVersion commonTargetSdkVersion
1313
versionCode 1
1414
versionName "1.0"

app/src/main/kotlin/org/wordpress/aztec/demo/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ open class MainActivity : AppCompatActivity(),
519519
}
520520
}
521521

522-
override fun onSaveInstanceState(outState: Bundle?) {
522+
override fun onSaveInstanceState(outState: Bundle) {
523523
super.onSaveInstanceState(outState)
524524

525525
if (mediaUploadDialog != null && mediaUploadDialog!!.isShowing) {

aztec/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
compileSdkVersion 28
99

1010
defaultConfig {
11-
minSdkVersion 16
11+
minSdkVersion commonMinSdkVersion
1212
targetSdkVersion commonTargetSdkVersion
1313
versionName "1.0"
1414
vectorDrawables.useSupportLibrary = true

aztec/src/main/kotlin/org/wordpress/aztec/toolbar/RippleToggleButton.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import android.view.MotionEvent
99
import android.view.View
1010
import android.view.View.OnLongClickListener
1111
import android.widget.Toast
12-
import android.widget.ToggleButton
12+
import androidx.appcompat.widget.AppCompatToggleButton
1313
import org.wordpress.aztec.R
1414

15-
class RippleToggleButton : ToggleButton, OnLongClickListener {
15+
class RippleToggleButton : AppCompatToggleButton, OnLongClickListener {
1616
private var mHalfWidth: Float = 0.toFloat()
1717
private var mAnimationIsRunning = false
1818
private var mTimer = 0

aztec/src/test/kotlin/org/wordpress/aztec/CssStyleAttributeTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import org.wordpress.aztec.source.CssStyleFormatter
1616
import org.wordpress.aztec.spans.AztecStyleBoldSpan
1717

1818
@RunWith(RobolectricTestRunner::class)
19-
@Config(sdk = intArrayOf(16, 21, 25))
19+
@Config(sdk = intArrayOf(21, 25))
2020
class CssStyleAttributeTest : AndroidTestCase() {
2121

2222
private val EMPTY_STYLE_HTML = "<b>bold</b>"

aztec/src/test/kotlin/org/wordpress/aztec/HtmlAttributeStyleColorTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import org.wordpress.aztec.spans.IAztecAttributedSpan
2929
* Also tests invalid html style attribute color properties.
3030
*/
3131
@RunWith(RobolectricTestRunner::class)
32-
@Config(sdk = intArrayOf(16, 21, 25))
32+
@Config(sdk = intArrayOf(21, 25))
3333
class HtmlAttributeStyleColorTest : AndroidTestCase() {
3434

3535
private val HTML_BOLD_STYLE_COLOR = "<b style=\"color:blue;\">Blue</b>"

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ subprojects {
4747
ext {
4848
gradlePluginVersion = '3.3.1'
4949
kotlinCoroutinesVersion = '1.1.0'
50-
supportLibVersion = '27.1.1'
5150
tagSoupVersion = '1.2.1'
5251
glideVersion = '4.10.0'
5352
picassoVersion = '2.5.2'
5453
robolectricVersion = '4.4'
5554
jUnitVersion = '4.12'
5655
jSoupVersion = '1.11.3'
57-
wordpressUtilsVersion = '1.21'
56+
wordpressUtilsVersion = 'trunk-1ed207c03d2242b6fc3d74f9e388e9163cbc82a6'
5857
espressoVersion = '3.0.1'
5958
commonTargetSdkVersion = 30
59+
commonMinSdkVersion = 21
6060

6161
aztecProjectDependency = project.hasProperty("aztecVersion") ? "org.wordpress:aztec:${project.getProperty("aztecVersion")}" : project(":aztec")
6262
}

glide-loader/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
compileSdkVersion 28
99

1010
defaultConfig {
11-
minSdkVersion 16
11+
minSdkVersion commonMinSdkVersion
1212
targetSdkVersion commonTargetSdkVersion
1313
versionCode 1
1414
versionName "1.0"

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# The setting is particularly useful for tweaking memory settings.
1212
# Default value: -Xmx10248m -XX:MaxPermSize=256m
1313
org.gradle.jvmargs=-Xmx1536m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14-
android.enableJetifier=true
14+
android.enableJetifier=false
1515
android.useAndroidX=true
1616

1717

picasso-loader/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
compileSdkVersion 28
99

1010
defaultConfig {
11-
minSdkVersion 16
11+
minSdkVersion commonMinSdkVersion
1212
targetSdkVersion commonTargetSdkVersion
1313
versionCode 1
1414
versionName "1.0"

0 commit comments

Comments
 (0)