-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleanup and update gradle, update dependencies * Duplicate Jsoup
- Loading branch information
Showing
4 changed files
with
52 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,28 @@ | ||
|
||
plugins { | ||
application | ||
kotlin("plugin.serialization") | ||
} | ||
|
||
|
||
repositories { | ||
mavenCentral() | ||
maven { | ||
url = uri("https://jitpack.io") | ||
} | ||
|
||
maven { | ||
url = uri("https://maven.google.com") | ||
} | ||
} | ||
|
||
dependencies { | ||
// Android stub library | ||
implementation(fileTree("lib/")) | ||
|
||
// JSON | ||
compileOnly("com.google.code.gson:gson:2.8.6") | ||
|
||
// XML | ||
compileOnly(group= "xmlpull", name= "xmlpull", version= "1.1.3.1") | ||
compileOnly("xmlpull:xmlpull:1.1.3.4a") | ||
|
||
// Config API | ||
implementation(project(":AndroidCompat:Config")) | ||
|
||
// APK sig verifier | ||
compileOnly("com.android.tools.build:apksig:4.2.0-alpha13") | ||
compileOnly("com.android.tools.build:apksig:7.1.0-alpha12") | ||
|
||
// AndroidX annotations | ||
compileOnly("androidx.annotation:annotation:1.2.0-alpha01") | ||
compileOnly("androidx.annotation:annotation:1.2.0") | ||
|
||
// substitute for duktape-android | ||
implementation("org.mozilla:rhino-runtime:1.7.13") // slimmer version of 'org.mozilla:rhino' | ||
implementation("org.mozilla:rhino-engine:1.7.13") // provides the same interface as 'javax.script' a.k.a Nashorn | ||
|
||
// Kotlin wrapper around Java Preferences, makes certain things easier | ||
val multiplatformSettingsVersion = "0.7.7" | ||
val multiplatformSettingsVersion = "0.8" | ||
implementation("com.russhwolf:multiplatform-settings-jvm:$multiplatformSettingsVersion") | ||
implementation("com.russhwolf:multiplatform-settings-serialization-jvm:$multiplatformSettingsVersion") | ||
|
||
// Android version of SimpleDateFormat | ||
implementation("com.ibm.icu:icu4j:69.1") | ||
} | ||
|
||
tasks { | ||
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { | ||
kotlinOptions.freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn") | ||
} | ||
} | ||
|
||
//def fatJarTask = tasks.getByPath(':AndroidCompat:JVMPatch:fatJar') | ||
// | ||
//// Copy JVM core patches | ||
//task copyJVMPatches(type: Copy) { | ||
// from fatJarTask.outputs.files | ||
// into 'src/main/resources/patches' | ||
//} | ||
// | ||
//compileOnly(Java.dependsOn gradle.includedBuild('dex2jar').task(':dex-translator:assemble') | ||
//compileOnly(Java.dependsOn copyJVMPatches | ||
//copyJVMPatches.dependsOn fatJarTask | ||
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters