Minor cleanup
This commit is contained in:
parent
210051bf8c
commit
403ee49cb0
|
@ -61,6 +61,5 @@ dependencies {
|
|||
}
|
||||
apply from: "$rootDir/common-dependencies.gradle"
|
||||
|
||||
|
||||
preBuild.dependsOn(lintKotlin)
|
||||
lintKotlin.dependsOn(formatKotlin)
|
||||
|
|
|
@ -20,8 +20,6 @@ repositories {
|
|||
// dependencies
|
||||
apply("$rootDir/common-dependencies.gradle")
|
||||
|
||||
|
||||
|
||||
tasks.register("runAllGenerators") {
|
||||
doLast {
|
||||
val isWindows = System.getProperty("os.name").toString().toLowerCase().contains("win")
|
||||
|
@ -31,7 +29,7 @@ tasks.register("runAllGenerators") {
|
|||
"$projectDir/build/intermediates/aar_main_jar/debug/classes.jar" // jar made from this module
|
||||
))
|
||||
.joinToString(if (isWindows) ";" else ":")
|
||||
val javaPath = System.getProperty("java.home") + "/bin/java" // path of java
|
||||
val javaPath = "${System.getProperty("java.home")}/bin/java"
|
||||
|
||||
val mainClass = "eu.kanade.tachiyomi.multisrc.GeneratorMainKt" // Main class we want to execute
|
||||
|
||||
|
@ -43,7 +41,7 @@ tasks.register("runAllGenerators") {
|
|||
val javaProcess = Runtime.getRuntime().exec(javaCommand)
|
||||
val exitCode = javaProcess.waitFor()
|
||||
if (exitCode != 0){
|
||||
throw Exception("Running java failed with exit code: $exitCode")
|
||||
throw Exception("Java process failed with exit code: $exitCode")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="eu.kanade.tachiyomi.lib.themesources" />
|
||||
<manifest package="eu.kanade.tachiyomi.lib.themesources" />
|
||||
|
|
Loading…
Reference in New Issue