dependency update
This commit is contained in:
113
app/build.gradle
113
app/build.gradle
@@ -14,34 +14,20 @@ if (file("google-services.json").exists()) {
|
|||||||
logger.lifecycle("Firebase Disabled")
|
logger.lifecycle("Firebase Disabled")
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
|
||||||
okhttp_version = "3.12.12"
|
|
||||||
}
|
|
||||||
|
|
||||||
configurations {
|
|
||||||
all {
|
|
||||||
resolutionStrategy {
|
|
||||||
eachDependency { DependencyResolveDetails details ->
|
|
||||||
if (details.requested.group == "com.squareup.okhttp3" && details.requested.name == "okhttp") {
|
|
||||||
// OkHttp drops support before 5.0 since 3.13.0
|
|
||||||
details.useVersion okhttp_version
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "xyz.quaver.pupil"
|
applicationId "xyz.quaver.pupil"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
compileSdk 34
|
compileSdk 35
|
||||||
targetSdkVersion 34
|
targetSdkVersion 35
|
||||||
versionCode 69
|
versionCode 69
|
||||||
versionName "5.3.15"
|
versionName "5.3.15"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
|
buildFeatures {
|
||||||
|
buildConfig true
|
||||||
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
defaultConfig.minSdkVersion 21
|
defaultConfig.minSdkVersion 21
|
||||||
@@ -68,7 +54,6 @@ android {
|
|||||||
}
|
}
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||||
freeCompilerArgs += "-Xuse-experimental=kotlin.Experimental"
|
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_11
|
sourceCompatibility JavaVersion.VERSION_11
|
||||||
@@ -79,68 +64,68 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
|
implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
implementation libs.kotlin.stdlib.jdk8
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1"
|
implementation libs.kotlinx.coroutines.android
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
|
implementation libs.kotlinx.serialization.json
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.3.2"
|
implementation libs.kotlinx.datetime
|
||||||
|
|
||||||
implementation "androidx.core:core-ktx:1.12.0"
|
implementation libs.core.ktx
|
||||||
implementation "androidx.appcompat:appcompat:1.4.1"
|
implementation libs.appcompat
|
||||||
implementation "androidx.activity:activity-ktx:1.4.0"
|
implementation libs.activity.ktx
|
||||||
implementation "androidx.fragment:fragment-ktx:1.4.1"
|
implementation libs.fragment.ktx
|
||||||
implementation "androidx.preference:preference-ktx:1.2.0"
|
implementation libs.preference.ktx
|
||||||
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
implementation libs.recyclerview
|
||||||
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
|
implementation libs.constraintlayout
|
||||||
implementation "androidx.gridlayout:gridlayout:1.0.0"
|
implementation libs.gridlayout
|
||||||
implementation "androidx.biometric:biometric:1.1.0"
|
implementation libs.biometric
|
||||||
implementation "androidx.work:work-runtime-ktx:2.7.1"
|
implementation libs.work.runtime.ktx
|
||||||
|
|
||||||
implementation "com.daimajia.swipelayout:library:1.2.0@aar"
|
implementation libs.library
|
||||||
|
|
||||||
implementation "com.google.android.material:material:1.11.0"
|
implementation libs.material
|
||||||
|
|
||||||
implementation platform('com.google.firebase:firebase-bom:32.7.0')
|
implementation platform(libs.firebase.bom)
|
||||||
implementation "com.google.firebase:firebase-analytics-ktx"
|
implementation libs.firebase.analytics.ktx
|
||||||
implementation "com.google.firebase:firebase-crashlytics-ktx"
|
implementation libs.firebase.crashlytics.ktx
|
||||||
implementation "com.google.firebase:firebase-perf-ktx"
|
implementation libs.firebase.perf.ktx
|
||||||
|
|
||||||
implementation "com.google.android.gms:play-services-oss-licenses:17.0.1"
|
implementation libs.play.services.oss.licenses
|
||||||
implementation "com.google.android.gms:play-services-mlkit-face-detection:17.1.0"
|
implementation libs.play.services.mlkit.face.detection
|
||||||
|
|
||||||
implementation "com.github.clans:fab:1.6.4"
|
implementation libs.fab
|
||||||
|
|
||||||
//implementation "com.quiph.ui:recyclerviewfastscroller:0.2.1"
|
//implementation "com.quiph.ui:recyclerviewfastscroller:0.2.1"
|
||||||
|
|
||||||
implementation 'com.github.piasy:BigImageViewer:1.8.1'
|
implementation libs.bigimageviewer
|
||||||
implementation 'com.github.piasy:FrescoImageLoader:1.8.1'
|
implementation libs.frescoimageloader
|
||||||
implementation 'com.github.piasy:FrescoImageViewFactory:1.8.1'
|
implementation libs.frescoimageviewfactory
|
||||||
implementation 'com.facebook.fresco:imagepipeline-okhttp3:2.6.0'
|
implementation libs.imagepipeline.okhttp3
|
||||||
|
|
||||||
//noinspection GradleDependency
|
//noinspection GradleDependency
|
||||||
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
|
implementation libs.okhttp
|
||||||
implementation "io.ktor:ktor-network:2.3.10"
|
implementation libs.ktor.network
|
||||||
|
|
||||||
implementation "com.tbuonomo.andrui:viewpagerdotsindicator:4.1.2"
|
implementation libs.viewpagerdotsindicator
|
||||||
|
|
||||||
implementation "net.rdrei.android.dirchooser:library:3.2@aar"
|
implementation libs.dirchooser.library
|
||||||
implementation "com.gu:option:1.3"
|
implementation libs.option
|
||||||
|
|
||||||
implementation "com.andrognito.patternlockview:patternlockview:1.0.0"
|
implementation libs.patternlockview
|
||||||
//implementation "com.andrognito.pinlockview:pinlockview:2.1.0"
|
//implementation "com.andrognito.pinlockview:pinlockview:2.1.0"
|
||||||
|
|
||||||
implementation "ru.noties.markwon:core:3.1.0"
|
implementation libs.core
|
||||||
|
|
||||||
implementation "com.skyfishjy.ripplebackground:library:1.0.1"
|
implementation libs.ripplebackground.library
|
||||||
|
|
||||||
implementation "org.jsoup:jsoup:1.14.3"
|
implementation libs.jsoup
|
||||||
|
|
||||||
implementation "xyz.quaver:documentfilex:0.7.2"
|
implementation libs.documentfilex
|
||||||
implementation "xyz.quaver:floatingsearchview:1.1.7"
|
implementation libs.floatingsearchview
|
||||||
|
|
||||||
testImplementation "junit:junit:4.13.2"
|
testImplementation libs.junit
|
||||||
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1"
|
testImplementation libs.kotlinx.coroutines.test
|
||||||
androidTestImplementation "androidx.test.ext:junit:1.1.3"
|
androidTestImplementation libs.ext.junit
|
||||||
androidTestImplementation "androidx.test:rules:1.4.0"
|
androidTestImplementation libs.rules
|
||||||
androidTestImplementation "androidx.test:runner:1.4.0"
|
androidTestImplementation libs.runner
|
||||||
androidTestImplementation "androidx.test.espresso:espresso-core:3.4.0"
|
androidTestImplementation libs.espresso.core
|
||||||
}
|
}
|
||||||
@@ -122,7 +122,7 @@ class DefaultQueryDialog : DialogFragment() {
|
|||||||
s.replace(
|
s.replace(
|
||||||
0,
|
0,
|
||||||
s.length,
|
s.length,
|
||||||
s.toString().toLowerCase(java.util.Locale.getDefault())
|
s.toString().lowercase()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ class FloatingSearchView @JvmOverloads constructor(context: Context, attrs: Attr
|
|||||||
s ?: return
|
s ?: return
|
||||||
|
|
||||||
if (s.any { it.isUpperCase() })
|
if (s.any { it.isUpperCase() })
|
||||||
s.replace(0, s.length, s.toString().toLowerCase(Locale.getDefault()))
|
s.replace(0, s.length, s.toString().lowercase())
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onSuggestionClicked(searchSuggestion: SearchSuggestion?) {
|
override fun onSuggestionClicked(searchSuggestion: SearchSuggestion?) {
|
||||||
|
|||||||
16
build.gradle
16
build.gradle
@@ -6,16 +6,16 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:8.8.0'
|
classpath libs.gradle
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath libs.kotlin.gradle.plugin
|
||||||
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
classpath libs.kotlin.android.extensions
|
||||||
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
classpath libs.kotlin.serialization
|
||||||
classpath "com.google.gms:google-services:4.3.15"
|
classpath libs.google.services
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
classpath "com.google.firebase:firebase-crashlytics-gradle:2.9.9"
|
classpath libs.firebase.crashlytics.gradle
|
||||||
classpath "com.google.firebase:perf-plugin:1.4.2"
|
classpath libs.perf.plugin
|
||||||
classpath "com.google.android.gms:oss-licenses-plugin:0.10.6"
|
classpath libs.oss.licenses.plugin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ kotlin.code.style=official
|
|||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
|
|
||||||
kotlin_version=1.9.0
|
kotlin_version=2.1.10
|
||||||
android.defaults.buildfeatures.buildconfig=true
|
|
||||||
android.nonTransitiveRClass=false
|
android.nonTransitiveRClass=false
|
||||||
android.nonFinalResIds=false
|
android.nonFinalResIds=false
|
||||||
103
gradle/libs.versions.toml
Normal file
103
gradle/libs.versions.toml
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
[versions]
|
||||||
|
activityKtx = "1.10.0"
|
||||||
|
appcompat = "1.7.0"
|
||||||
|
bigimageviewer = "1.8.1"
|
||||||
|
biometric = "1.1.0"
|
||||||
|
constraintlayout = "2.2.0"
|
||||||
|
core = "3.1.0"
|
||||||
|
coreKtx = "1.15.0"
|
||||||
|
documentfilex = "0.7.2"
|
||||||
|
espressoCore = "3.6.1"
|
||||||
|
fab = "1.6.4"
|
||||||
|
firebaseBom = "33.9.0"
|
||||||
|
firebaseCrashlyticsGradle = "3.0.3"
|
||||||
|
floatingsearchview = "1.1.7"
|
||||||
|
fragmentKtx = "1.8.5"
|
||||||
|
googleServices = "4.4.2"
|
||||||
|
gradle = "8.8.0"
|
||||||
|
gridlayout = "1.0.0"
|
||||||
|
imagepipelineOkhttp3 = "2.6.0"
|
||||||
|
jsoup = "1.18.3"
|
||||||
|
junit = "4.13.2"
|
||||||
|
junitVersion = "1.2.1"
|
||||||
|
kotlinAndroidExtensions = "2.1.10"
|
||||||
|
kotlinGradlePlugin = "2.1.10"
|
||||||
|
kotlinSerialization = "2.1.10"
|
||||||
|
kotlinxCoroutinesAndroid = "1.8.0"
|
||||||
|
kotlinxCoroutinesTest = "1.6.1"
|
||||||
|
kotlinxDatetime = "0.4.0"
|
||||||
|
kotlinxSerializationJson = "1.5.1"
|
||||||
|
ktorNetwork = "2.3.10"
|
||||||
|
library = "1.2.0"
|
||||||
|
libraryVersion = "3.2"
|
||||||
|
material = "1.12.0"
|
||||||
|
okhttp = "3.12.12"
|
||||||
|
option = "1.3"
|
||||||
|
ossLicensesPlugin = "0.10.6"
|
||||||
|
patternlockview = "1.0.0"
|
||||||
|
perfPlugin = "1.4.2"
|
||||||
|
playServicesMlkitFaceDetection = "17.1.0"
|
||||||
|
playServicesOssLicenses = "17.1.0"
|
||||||
|
preferenceKtx = "1.2.1"
|
||||||
|
recyclerview = "1.4.0"
|
||||||
|
rules = "1.6.1"
|
||||||
|
runner = "1.6.2"
|
||||||
|
skyfishjyLibrary = "1.0.1"
|
||||||
|
viewpagerdotsindicator = "4.1.2"
|
||||||
|
workRuntimeKtx = "2.10.0"
|
||||||
|
|
||||||
|
[libraries]
|
||||||
|
activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "activityKtx" }
|
||||||
|
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
|
||||||
|
bigimageviewer = { module = "com.github.piasy:BigImageViewer", version.ref = "bigimageviewer" }
|
||||||
|
biometric = { module = "androidx.biometric:biometric", version.ref = "biometric" }
|
||||||
|
constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" }
|
||||||
|
core = { module = "ru.noties.markwon:core", version.ref = "core" }
|
||||||
|
core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
|
||||||
|
dirchooser-library = { module = "net.rdrei.android.dirchooser:library", version.ref = "libraryVersion" }
|
||||||
|
documentfilex = { module = "xyz.quaver:documentfilex", version.ref = "documentfilex" }
|
||||||
|
espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" }
|
||||||
|
ext-junit = { module = "androidx.test.ext:junit", version.ref = "junitVersion" }
|
||||||
|
fab = { module = "com.github.clans:fab", version.ref = "fab" }
|
||||||
|
firebase-analytics-ktx = { module = "com.google.firebase:firebase-analytics-ktx" }
|
||||||
|
firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebaseBom" }
|
||||||
|
firebase-crashlytics-gradle = { module = "com.google.firebase:firebase-crashlytics-gradle", version.ref = "firebaseCrashlyticsGradle" }
|
||||||
|
firebase-crashlytics-ktx = { module = "com.google.firebase:firebase-crashlytics-ktx" }
|
||||||
|
firebase-perf-ktx = { module = "com.google.firebase:firebase-perf-ktx" }
|
||||||
|
floatingsearchview = { module = "xyz.quaver:floatingsearchview", version.ref = "floatingsearchview" }
|
||||||
|
fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref = "fragmentKtx" }
|
||||||
|
frescoimageloader = { module = "com.github.piasy:FrescoImageLoader", version.ref = "bigimageviewer" }
|
||||||
|
frescoimageviewfactory = { module = "com.github.piasy:FrescoImageViewFactory", version.ref = "bigimageviewer" }
|
||||||
|
google-services = { module = "com.google.gms:google-services", version.ref = "googleServices" }
|
||||||
|
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
|
||||||
|
gridlayout = { module = "androidx.gridlayout:gridlayout", version.ref = "gridlayout" }
|
||||||
|
imagepipeline-okhttp3 = { module = "com.facebook.fresco:imagepipeline-okhttp3", version.ref = "imagepipelineOkhttp3" }
|
||||||
|
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
|
||||||
|
junit = { module = "junit:junit", version.ref = "junit" }
|
||||||
|
kotlin-android-extensions = { module = "org.jetbrains.kotlin:kotlin-android-extensions", version.ref = "kotlinAndroidExtensions" }
|
||||||
|
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinGradlePlugin" }
|
||||||
|
kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlinSerialization" }
|
||||||
|
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8" }
|
||||||
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutinesAndroid" }
|
||||||
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutinesTest" }
|
||||||
|
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinxDatetime" }
|
||||||
|
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
|
||||||
|
ktor-network = { module = "io.ktor:ktor-network", version.ref = "ktorNetwork" }
|
||||||
|
library = { module = "com.daimajia.swipelayout:library", version.ref = "library" }
|
||||||
|
material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||||
|
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
||||||
|
option = { module = "com.gu:option", version.ref = "option" }
|
||||||
|
oss-licenses-plugin = { module = "com.google.android.gms:oss-licenses-plugin", version.ref = "ossLicensesPlugin" }
|
||||||
|
patternlockview = { module = "com.andrognito.patternlockview:patternlockview", version.ref = "patternlockview" }
|
||||||
|
perf-plugin = { module = "com.google.firebase:perf-plugin", version.ref = "perfPlugin" }
|
||||||
|
play-services-mlkit-face-detection = { module = "com.google.android.gms:play-services-mlkit-face-detection", version.ref = "playServicesMlkitFaceDetection" }
|
||||||
|
play-services-oss-licenses = { module = "com.google.android.gms:play-services-oss-licenses", version.ref = "playServicesOssLicenses" }
|
||||||
|
preference-ktx = { module = "androidx.preference:preference-ktx", version.ref = "preferenceKtx" }
|
||||||
|
recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" }
|
||||||
|
ripplebackground-library = { module = "com.skyfishjy.ripplebackground:library", version.ref = "skyfishjyLibrary" }
|
||||||
|
rules = { module = "androidx.test:rules", version.ref = "rules" }
|
||||||
|
runner = { module = "androidx.test:runner", version.ref = "runner" }
|
||||||
|
viewpagerdotsindicator = { module = "com.tbuonomo.andrui:viewpagerdotsindicator", version.ref = "viewpagerdotsindicator" }
|
||||||
|
work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "workRuntimeKtx" }
|
||||||
|
|
||||||
|
[plugins]
|
||||||
Reference in New Issue
Block a user