feat: make aaptPath nullable (#146)

This commit is contained in:
Canny 2022-12-20 22:04:15 +03:00 committed by GitHub
parent e802141df5
commit 9f0a09a756
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ dependencies {
implementation("xpp3:xpp3:1.1.4c") implementation("xpp3:xpp3:1.1.4c")
implementation("org.smali:smali:2.5.2") implementation("org.smali:smali:2.5.2")
implementation("app.revanced:multidexlib2:2.5.2.r2") implementation("app.revanced:multidexlib2:2.5.2.r2")
implementation("org.apktool:apktool-lib:2.8.1-SNAPSHOT") implementation("org.apktool:apktool-lib:2.9.0-SNAPSHOT")
implementation(kotlin("reflect")) implementation(kotlin("reflect"))
testImplementation(kotlin("test")) testImplementation(kotlin("test"))

View file

@ -15,7 +15,7 @@ import java.io.File
data class PatcherOptions( data class PatcherOptions(
internal val inputFile: File, internal val inputFile: File,
internal val resourceCacheDirectory: String, internal val resourceCacheDirectory: String,
internal val aaptPath: String = "", internal val aaptPath: String? = null,
internal val frameworkFolderLocation: String? = null, internal val frameworkFolderLocation: String? = null,
internal val logger: Logger = NopLogger internal val logger: Logger = NopLogger
) )