Loading app/build.gradle +6 −7 Original line number Diff line number Diff line Loading @@ -14,13 +14,12 @@ def versionMajor = 2 def versionMinor = 13 def versionPatch = 11 def getGitHash = { -> def stdOut = new ByteArrayOutputStream() exec { def getGitHashProvider = providers.exec { commandLine 'git', 'log', '--pretty=format:%h', '-n', '1' standardOutput = stdOut } return stdOut.toString().trim() def getGitHash = { return getGitHashProvider.standardOutput.asText.get().trim() } def getDate = { -> Loading app/src/main/java/foundation/e/apps/data/application/ApplicationRepository.kt +1 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ class ApplicationRepository @Inject constructor( suspend fun getOnDemandModule( packageName: String, moduleName: String, versionCode: Int, versionCode: Long, offerType: Int ): String? { return downloadInfoApi.getOnDemandModule(packageName, moduleName, versionCode, offerType) Loading app/src/main/java/foundation/e/apps/data/application/data/Application.kt +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ data class Application( var reportId: Long = -1L, val icon_image_path: String = String(), val last_modified: String = String(), var latest_version_code: Int = -1, var latest_version_code: Long = -1, val latest_version_number: String = String(), val latest_downloaded_version: String = String(), val licence: String = String(), Loading app/src/main/java/foundation/e/apps/data/application/downloadInfo/DownloadInfoApi.kt +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ interface DownloadInfoApi { suspend fun getOnDemandModule( packageName: String, moduleName: String, versionCode: Int, versionCode: Long, offerType: Int ): String? Loading app/src/main/java/foundation/e/apps/data/application/downloadInfo/DownloadInfoApiImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class DownloadInfoApiImpl @Inject constructor( override suspend fun getOnDemandModule( packageName: String, moduleName: String, versionCode: Int, versionCode: Long, offerType: Int ): String? { val result = handleNetworkResult { Loading Loading
app/build.gradle +6 −7 Original line number Diff line number Diff line Loading @@ -14,13 +14,12 @@ def versionMajor = 2 def versionMinor = 13 def versionPatch = 11 def getGitHash = { -> def stdOut = new ByteArrayOutputStream() exec { def getGitHashProvider = providers.exec { commandLine 'git', 'log', '--pretty=format:%h', '-n', '1' standardOutput = stdOut } return stdOut.toString().trim() def getGitHash = { return getGitHashProvider.standardOutput.asText.get().trim() } def getDate = { -> Loading
app/src/main/java/foundation/e/apps/data/application/ApplicationRepository.kt +1 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ class ApplicationRepository @Inject constructor( suspend fun getOnDemandModule( packageName: String, moduleName: String, versionCode: Int, versionCode: Long, offerType: Int ): String? { return downloadInfoApi.getOnDemandModule(packageName, moduleName, versionCode, offerType) Loading
app/src/main/java/foundation/e/apps/data/application/data/Application.kt +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ data class Application( var reportId: Long = -1L, val icon_image_path: String = String(), val last_modified: String = String(), var latest_version_code: Int = -1, var latest_version_code: Long = -1, val latest_version_number: String = String(), val latest_downloaded_version: String = String(), val licence: String = String(), Loading
app/src/main/java/foundation/e/apps/data/application/downloadInfo/DownloadInfoApi.kt +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ interface DownloadInfoApi { suspend fun getOnDemandModule( packageName: String, moduleName: String, versionCode: Int, versionCode: Long, offerType: Int ): String? Loading
app/src/main/java/foundation/e/apps/data/application/downloadInfo/DownloadInfoApiImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class DownloadInfoApiImpl @Inject constructor( override suspend fun getOnDemandModule( packageName: String, moduleName: String, versionCode: Int, versionCode: Long, offerType: Int ): String? { val result = handleNetworkResult { Loading