mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-13 01:17:21 -04:00
increase version to 3.5.0 gradle play publisher
This commit is contained in:
parent
91a999f3b9
commit
b3ed396e4d
@ -78,11 +78,11 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
play {
|
play {
|
||||||
isEnabled = true
|
//isEnabled = true
|
||||||
serviceAccountCredentials = file("../google.json")
|
//serviceAccountCredentials = file("../google.json")
|
||||||
track = "alpha"
|
//track = "alpha"
|
||||||
releaseStatus = "draft"
|
// releaseStatus = "draft"
|
||||||
resolutionStrategy = "fail"
|
//resolutionStrategy = "fail"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -12,7 +12,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.android.tools.build:gradle:4.0.1")
|
implementation("com.android.tools.build:gradle:4.2.0")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72")
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72")
|
||||||
implementation("com.hiya:jacoco-android:0.2")
|
implementation("com.hiya:jacoco-android:0.2")
|
||||||
implementation("org.jlleitschuh.gradle:ktlint-gradle:9.2.1")
|
implementation("org.jlleitschuh.gradle:ktlint-gradle:9.2.1")
|
||||||
|
@ -42,11 +42,11 @@ object Versions {
|
|||||||
|
|
||||||
const val android_arch_lifecycle_extensions: String = "1.1.1"
|
const val android_arch_lifecycle_extensions: String = "1.1.1"
|
||||||
|
|
||||||
const val com_android_tools_build_gradle: String = "4.0.1" // available: "4.1.1"
|
const val com_android_tools_build_gradle: String = "4.2.0" // available: "4.1.1"
|
||||||
|
|
||||||
const val de_fayard_buildsrcversions_gradle_plugin: String = "0.7.0"
|
const val de_fayard_buildsrcversions_gradle_plugin: String = "0.7.0"
|
||||||
|
|
||||||
const val com_github_triplet_play_gradle_plugin: String = "2.8.0" // available: "3.0.0"
|
const val com_github_triplet_play_gradle_plugin: String = "3.5.0" // available: "3.0.0"
|
||||||
|
|
||||||
const val javax_annotation_api: String = "1.3.2"
|
const val javax_annotation_api: String = "1.3.2"
|
||||||
|
|
||||||
|
@ -75,19 +75,19 @@ class AllProjectConfigurer {
|
|||||||
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
||||||
unitTests.apply {
|
unitTests.apply {
|
||||||
isReturnDefaultValues = true
|
isReturnDefaultValues = true
|
||||||
all(KotlinClosure1<Any, Test>({
|
// all(KotlinClosure1<Any, Test>({
|
||||||
(this as Test).also { testTask ->
|
// (this as Test).also { testTask ->
|
||||||
testTask.useJUnitPlatform()
|
// testTask.useJUnitPlatform()
|
||||||
testTask.testLogging {
|
// testTask.testLogging {
|
||||||
setEvents(setOf("passed", "skipped", "failed", "standardOut", "standardError"))
|
// setEvents(setOf("passed", "skipped", "failed", "standardOut", "standardError"))
|
||||||
outputs.upToDateWhen { false }
|
// outputs.upToDateWhen { false }
|
||||||
showStandardStreams = true
|
// showStandardStreams = true
|
||||||
}
|
// }
|
||||||
testTask.extensions
|
// testTask.extensions
|
||||||
.getByType(JacocoTaskExtension::class.java)
|
// .getByType(JacocoTaskExtension::class.java)
|
||||||
.isIncludeNoLocationClasses = true
|
// .isIncludeNoLocationClasses = true
|
||||||
}
|
// }
|
||||||
}, this))
|
// }, this))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ import javax.inject.Singleton
|
|||||||
private const val CONNECTION_TIMEOUT = 10L
|
private const val CONNECTION_TIMEOUT = 10L
|
||||||
private const val READ_TIMEOUT = 60L
|
private const val READ_TIMEOUT = 60L
|
||||||
private const val CALL_TIMEOUT = 60L
|
private const val CALL_TIMEOUT = 60L
|
||||||
private const val USER_AGENT = "kiwix-android-version:${BuildConfig.VERSION_CODE}"
|
private const val USER_AGENT = "kiwix-android-version:1"
|
||||||
private const val KIWIX_DOWNLOAD_URL = "https://mirror.download.kiwix.org/"
|
private const val KIWIX_DOWNLOAD_URL = "https://mirror.download.kiwix.org/"
|
||||||
|
|
||||||
@Module
|
@Module
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user