Use Kotlin for BuildConfig class stub

This commit is contained in:
arkon 2021-11-28 15:18:46 -05:00
parent c39875ad55
commit e8b9c36c76
3 changed files with 9 additions and 7 deletions

View File

@ -59,7 +59,7 @@ sourceSets {
}
// should be bumped with each stable release
val inspectorVersion = "v0.5.0"
val inspectorVersion = "v0.5.1"
// counts commit count on master
val inspectorRevision = runCatching {

View File

@ -1,6 +0,0 @@
package eu.kanade.tachiyomi;
public class BuildConfig {
public static int VERSION_CODE = -1;
public static String VERSION_NAME = "stub";
}

View File

@ -0,0 +1,8 @@
package eu.kanade.tachiyomi
class BuildConfig {
companion object {
const val VERSION_NAME = "stub"
const val VERSION_CODE = -1
}
}