mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-02-01 11:26:48 +01:00
detekt 1.23.4
This commit is contained in:
parent
9cf5a36ff4
commit
78e315e6ea
@ -19,7 +19,13 @@ import android.view.View.FOCUS_FORWARD
|
|||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.view.Window
|
import android.view.Window
|
||||||
import android.view.inputmethod.EditorInfo
|
import android.view.inputmethod.EditorInfo
|
||||||
import android.widget.*
|
import android.widget.AdapterView
|
||||||
|
import android.widget.ArrayAdapter
|
||||||
|
import android.widget.BaseAdapter
|
||||||
|
import android.widget.CompoundButton
|
||||||
|
import android.widget.FrameLayout
|
||||||
|
import android.widget.Spinner
|
||||||
|
import android.widget.TextView
|
||||||
import android.widget.TextView.OnEditorActionListener
|
import android.widget.TextView.OnEditorActionListener
|
||||||
import androidx.annotation.ColorInt
|
import androidx.annotation.ColorInt
|
||||||
import androidx.annotation.WorkerThread
|
import androidx.annotation.WorkerThread
|
||||||
@ -53,22 +59,35 @@ import jp.juggler.subwaytooter.util.CustomShare
|
|||||||
import jp.juggler.subwaytooter.util.CustomShareTarget
|
import jp.juggler.subwaytooter.util.CustomShareTarget
|
||||||
import jp.juggler.subwaytooter.util.cn
|
import jp.juggler.subwaytooter.util.cn
|
||||||
import jp.juggler.subwaytooter.view.MyTextView
|
import jp.juggler.subwaytooter.view.MyTextView
|
||||||
import jp.juggler.util.*
|
import jp.juggler.util.backPressed
|
||||||
import jp.juggler.util.coroutine.launchAndShowError
|
import jp.juggler.util.coroutine.launchAndShowError
|
||||||
import jp.juggler.util.coroutine.launchProgress
|
import jp.juggler.util.coroutine.launchProgress
|
||||||
import jp.juggler.util.data.*
|
import jp.juggler.util.data.cast
|
||||||
|
import jp.juggler.util.data.defaultLocale
|
||||||
|
import jp.juggler.util.data.handleGetContentResult
|
||||||
|
import jp.juggler.util.data.intentOpenDocument
|
||||||
|
import jp.juggler.util.data.notEmpty
|
||||||
|
import jp.juggler.util.data.notZero
|
||||||
|
import jp.juggler.util.getPackageInfoCompat
|
||||||
import jp.juggler.util.log.LogCategory
|
import jp.juggler.util.log.LogCategory
|
||||||
import jp.juggler.util.log.dialogOrToast
|
import jp.juggler.util.log.dialogOrToast
|
||||||
import jp.juggler.util.log.showToast
|
import jp.juggler.util.log.showToast
|
||||||
import jp.juggler.util.log.withCaption
|
import jp.juggler.util.log.withCaption
|
||||||
import jp.juggler.util.ui.*
|
import jp.juggler.util.queryIntentActivitiesCompat
|
||||||
|
import jp.juggler.util.ui.ActivityResultHandler
|
||||||
|
import jp.juggler.util.ui.attrColor
|
||||||
|
import jp.juggler.util.ui.hideKeyboard
|
||||||
|
import jp.juggler.util.ui.isEnabledAlpha
|
||||||
|
import jp.juggler.util.ui.isNotOk
|
||||||
|
import jp.juggler.util.ui.launch
|
||||||
|
import jp.juggler.util.ui.vg
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.io.FileInputStream
|
import java.io.FileInputStream
|
||||||
import java.io.FileOutputStream
|
import java.io.FileOutputStream
|
||||||
import java.io.InputStream
|
import java.io.InputStream
|
||||||
import java.io.OutputStreamWriter
|
import java.io.OutputStreamWriter
|
||||||
import java.text.NumberFormat
|
import java.text.NumberFormat
|
||||||
import java.util.*
|
import java.util.TimeZone
|
||||||
import java.util.concurrent.ConcurrentHashMap
|
import java.util.concurrent.ConcurrentHashMap
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
import java.util.zip.ZipEntry
|
import java.util.zip.ZipEntry
|
||||||
|
@ -10,5 +10,4 @@ enum class PollingState(val desc: String) {
|
|||||||
CheckServerInformation("check server information"),
|
CheckServerInformation("check server information"),
|
||||||
CheckPushSubscription("check push subscription"),
|
CheckPushSubscription("check push subscription"),
|
||||||
CheckNotifications("check notifications"),
|
CheckNotifications("check notifications"),
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ object Vers {
|
|||||||
const val conscryptVersion = "2.5.2"
|
const val conscryptVersion = "2.5.2"
|
||||||
const val coreKtxVersion = "1.12.0"
|
const val coreKtxVersion = "1.12.0"
|
||||||
const val desugarLibVersion = "2.0.3"
|
const val desugarLibVersion = "2.0.3"
|
||||||
const val detektVersion = "1.23.1"
|
const val detektVersion = "1.23.4"
|
||||||
const val emoji2Version = "1.4.0"
|
const val emoji2Version = "1.4.0"
|
||||||
const val glideVersion = "4.15.1"
|
const val glideVersion = "4.15.1"
|
||||||
const val junitVersion = "4.13.2"
|
const val junitVersion = "4.13.2"
|
||||||
|
@ -15,7 +15,6 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = Vers.stMinSdkVersion
|
minSdk = Vers.stMinSdkVersion
|
||||||
targetSdk = Vers.stTargetSdkVersion
|
|
||||||
|
|
||||||
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
@ -671,7 +671,7 @@ style:
|
|||||||
active: true
|
active: true
|
||||||
OptionalUnit:
|
OptionalUnit:
|
||||||
active: false
|
active: false
|
||||||
OptionalWhenBraces:
|
BracesOnWhenStatements:
|
||||||
active: false
|
active: false
|
||||||
PreferToOverPairSyntax:
|
PreferToOverPairSyntax:
|
||||||
active: false
|
active: false
|
||||||
|
@ -13,7 +13,6 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = Vers.stMinSdkVersion
|
minSdk = Vers.stMinSdkVersion
|
||||||
targetSdk = Vers.stTargetSdkVersion
|
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = Vers.stMinSdkVersion
|
minSdk = Vers.stMinSdkVersion
|
||||||
targetSdk = Vers.stTargetSdkVersion
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
consumerProguardFiles("consumer-rules.pro")
|
consumerProguardFiles("consumer-rules.pro")
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ android {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
packagingOptions {
|
packaging {
|
||||||
resources {
|
resources {
|
||||||
pickFirsts += listOf("META-INF/atomicfu.kotlin_module")
|
pickFirsts += listOf("META-INF/atomicfu.kotlin_module")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user