Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop jetifier #946

Merged
merged 8 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {

defaultConfig {
applicationId "org.wordpress.aztec"
minSdkVersion 16
minSdkVersion commonMinSdkVersion
targetSdkVersion commonTargetSdkVersion
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ open class MainActivity : AppCompatActivity(),
}
}

override fun onSaveInstanceState(outState: Bundle?) {
override fun onSaveInstanceState(outState: Bundle) {
super.onSaveInstanceState(outState)

if (mediaUploadDialog != null && mediaUploadDialog!!.isShowing) {
Expand Down
2 changes: 1 addition & 1 deletion aztec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
minSdkVersion commonMinSdkVersion
targetSdkVersion commonTargetSdkVersion
versionName "1.0"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import android.view.MotionEvent
import android.view.View
import android.view.View.OnLongClickListener
import android.widget.Toast
import android.widget.ToggleButton
import androidx.appcompat.widget.AppCompatToggleButton
import org.wordpress.aztec.R

class RippleToggleButton : ToggleButton, OnLongClickListener {
class RippleToggleButton : AppCompatToggleButton, OnLongClickListener {
private var mHalfWidth: Float = 0.toFloat()
private var mAnimationIsRunning = false
private var mTimer = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import org.wordpress.aztec.source.CssStyleFormatter
import org.wordpress.aztec.spans.AztecStyleBoldSpan

@RunWith(RobolectricTestRunner::class)
@Config(sdk = intArrayOf(16, 21, 25))
@Config(sdk = intArrayOf(21, 25))
class CssStyleAttributeTest : AndroidTestCase() {

private val EMPTY_STYLE_HTML = "<b>bold</b>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.wordpress.aztec.spans.IAztecAttributedSpan
* Also tests invalid html style attribute color properties.
*/
@RunWith(RobolectricTestRunner::class)
@Config(sdk = intArrayOf(16, 21, 25))
@Config(sdk = intArrayOf(21, 25))
class HtmlAttributeStyleColorTest : AndroidTestCase() {

private val HTML_BOLD_STYLE_COLOR = "<b style=\"color:blue;\">Blue</b>"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ subprojects {
ext {
gradlePluginVersion = '3.3.1'
kotlinCoroutinesVersion = '1.1.0'
supportLibVersion = '27.1.1'
tagSoupVersion = '1.2.1'
glideVersion = '4.10.0'
picassoVersion = '2.5.2'
robolectricVersion = '4.4'
jUnitVersion = '4.12'
jSoupVersion = '1.11.3'
wordpressUtilsVersion = '1.21'
wordpressUtilsVersion = 'trunk-1ed207c03d2242b6fc3d74f9e388e9163cbc82a6'
espressoVersion = '3.0.1'
commonTargetSdkVersion = 30
commonMinSdkVersion = 21

aztecProjectDependency = project.hasProperty("aztecVersion") ? "org.wordpress:aztec:${project.getProperty("aztecVersion")}" : project(":aztec")
}
2 changes: 1 addition & 1 deletion glide-loader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
minSdkVersion commonMinSdkVersion
targetSdkVersion commonTargetSdkVersion
versionCode 1
versionName "1.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xmx1536m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
android.enableJetifier=true
android.enableJetifier=false
android.useAndroidX=true


Expand Down
2 changes: 1 addition & 1 deletion picasso-loader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
minSdkVersion commonMinSdkVersion
targetSdkVersion commonTargetSdkVersion
versionCode 1
versionName "1.0"
Expand Down
2 changes: 1 addition & 1 deletion wordpress-comments/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
minSdkVersion commonMinSdkVersion
targetSdkVersion commonTargetSdkVersion
versionName "1.0"
vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 1 addition & 1 deletion wordpress-shortcodes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
minSdkVersion commonMinSdkVersion
targetSdkVersion commonTargetSdkVersion
versionName "1.0"
}
Expand Down