6.6.4 - Fix - 修复 RootShell 依赖项无法获取的问题
Some checks failed
Android CI / build (push) Has been cancelled
Some checks failed
Android CI / build (push) Has been cancelled
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -27,6 +27,7 @@ sync.ffs_db
|
|||||||
|
|
||||||
/build/
|
/build/
|
||||||
/libs/**/build/
|
/libs/**/build/
|
||||||
|
/modules/**/build/
|
||||||
/captures/
|
/captures/
|
||||||
/release/
|
/release/
|
||||||
/releases/
|
/releases/
|
||||||
|
|||||||
@@ -7,10 +7,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|||||||
import java.io.FileInputStream
|
import java.io.FileInputStream
|
||||||
import java.io.FileNotFoundException
|
import java.io.FileNotFoundException
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Date
|
import java.util.*
|
||||||
import java.util.Locale
|
|
||||||
import java.util.Properties
|
|
||||||
import java.util.TimeZone
|
|
||||||
import java.util.zip.CRC32
|
import java.util.zip.CRC32
|
||||||
import kotlin.text.RegexOption.IGNORE_CASE
|
import kotlin.text.RegexOption.IGNORE_CASE
|
||||||
|
|
||||||
@@ -133,7 +130,8 @@ dependencies /* Unclassified */ {
|
|||||||
implementation("androidx.preference:preference-ktx:1.2.1")
|
implementation("androidx.preference:preference-ktx:1.2.1")
|
||||||
|
|
||||||
// RootShell
|
// RootShell
|
||||||
implementation("com.github.Stericson:RootShell:1.6")
|
// implementation("com.github.Stericson:RootShell:1.6")
|
||||||
|
implementation(project(":libs:root-shell-1.6"))
|
||||||
|
|
||||||
// JDeferred
|
// JDeferred
|
||||||
implementation("org.jdeferred:jdeferred-android-aar:1.2.6")
|
implementation("org.jdeferred:jdeferred-android-aar:1.2.6")
|
||||||
|
|||||||
9
libs/root-shell-1.6/build.gradle.kts
Normal file
9
libs/root-shell-1.6/build.gradle.kts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
"root-shell-1.6.aar"
|
||||||
|
.let { path ->
|
||||||
|
rootProject.extra["configurationName"].toString().let { name ->
|
||||||
|
configurations.maybeCreate(name)
|
||||||
|
file(path).takeIf { it.exists() }?.also {
|
||||||
|
artifacts.add(name, it)
|
||||||
|
} ?: throw Exception("File not found: \"$path\"")
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
libs/root-shell-1.6/root-shell-1.6.aar
Normal file
BIN
libs/root-shell-1.6/root-shell-1.6.aar
Normal file
Binary file not shown.
@@ -29,6 +29,8 @@ private val libs = listOf(
|
|||||||
|
|
||||||
"markwon-core-4.6.2",
|
"markwon-core-4.6.2",
|
||||||
"markwon-syntax-highlight-4.6.2",
|
"markwon-syntax-highlight-4.6.2",
|
||||||
|
|
||||||
|
"root-shell-1.6",
|
||||||
)
|
)
|
||||||
|
|
||||||
include(
|
include(
|
||||||
|
|||||||
Reference in New Issue
Block a user