File tree Expand file tree Collapse file tree 5 files changed +15
-5
lines changed
Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ sync.ffs_db
2727
2828/build /
2929/libs /** /build /
30+ /modules /** /build /
3031/captures /
3132/release /
3233/releases /
Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
77import java.io.FileInputStream
88import java.io.FileNotFoundException
99import java.text.SimpleDateFormat
10- import java.util.Date
11- import java.util.Locale
12- import java.util.Properties
13- import java.util.TimeZone
10+ import java.util.*
1411import java.util.zip.CRC32
1512import kotlin.text.RegexOption.IGNORE_CASE
1613
@@ -133,7 +130,8 @@ dependencies /* Unclassified */ {
133130 implementation(" androidx.preference:preference-ktx:1.2.1" )
134131
135132 // RootShell
136- implementation(" com.github.Stericson:RootShell:1.6" )
133+ // implementation("com.github.Stericson:RootShell:1.6")
134+ implementation(project(" :libs:root-shell-1.6" ))
137135
138136 // JDeferred
139137 implementation(" org.jdeferred:jdeferred-android-aar:1.2.6" )
Original file line number Diff line number Diff line change 1+ " root-shell-1.6.aar"
2+ .let { path ->
3+ rootProject.extra[" configurationName" ].toString().let { name ->
4+ configurations.maybeCreate(name)
5+ file(path).takeIf { it.exists() }?.also {
6+ artifacts.add(name, it)
7+ } ? : throw Exception (" File not found: \" $path \" " )
8+ }
9+ }
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ private val libs = listOf(
2929
3030 " markwon-core-4.6.2" ,
3131 " markwon-syntax-highlight-4.6.2" ,
32+
33+ " root-shell-1.6" ,
3234)
3335
3436include(
You can’t perform that action at this time.
0 commit comments