From 7dfe39b011147947495f03587b959cbf204ef6cd Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 1 Feb 2022 12:54:16 -0500 Subject: [PATCH] Replace BuildConfig stubs with AppInfo stubs --- library/src/main/java/eu/kanade/tachiyomi/AppInfo.kt | 6 ++++++ library/src/main/java/eu/kanade/tachiyomi/BuildConfig.java | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 library/src/main/java/eu/kanade/tachiyomi/AppInfo.kt delete mode 100644 library/src/main/java/eu/kanade/tachiyomi/BuildConfig.java diff --git a/library/src/main/java/eu/kanade/tachiyomi/AppInfo.kt b/library/src/main/java/eu/kanade/tachiyomi/AppInfo.kt new file mode 100644 index 0000000..ab5f356 --- /dev/null +++ b/library/src/main/java/eu/kanade/tachiyomi/AppInfo.kt @@ -0,0 +1,6 @@ +package eu.kanade.tachiyomi + +object AppInfo { + fun getVersionCode(): String = throw Exception("Stub!") + fun getVersionName(): String = throw Exception("Stub!") +} diff --git a/library/src/main/java/eu/kanade/tachiyomi/BuildConfig.java b/library/src/main/java/eu/kanade/tachiyomi/BuildConfig.java deleted file mode 100644 index e121192..0000000 --- a/library/src/main/java/eu/kanade/tachiyomi/BuildConfig.java +++ /dev/null @@ -1,6 +0,0 @@ -package eu.kanade.tachiyomi; - -public class BuildConfig { - public static int VERSION_CODE = -1; - public static String VERSION_NAME = "stub"; -}