aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-08-24 21:33:29 +0530
committerGitHub <noreply@github.com>2021-08-24 16:03:29 +0000
commit8c56a1d7b84d898714d7ca7d167bd60df033ab57 (patch)
tree043be3fb9bb7e61b0133681ddb400e42173746c2 /buildSrc/src/main
parentd59d1770ea6624234d29410a43e299929d18f850 (diff)
Update AndroidX deps (#1491)
Diffstat (limited to 'buildSrc/src/main')
-rw-r--r--buildSrc/src/main/java/BaseProjectConfig.kt9
1 files changed, 4 insertions, 5 deletions
diff --git a/buildSrc/src/main/java/BaseProjectConfig.kt b/buildSrc/src/main/java/BaseProjectConfig.kt
index 497e5456..06648ae0 100644
--- a/buildSrc/src/main/java/BaseProjectConfig.kt
+++ b/buildSrc/src/main/java/BaseProjectConfig.kt
@@ -38,14 +38,13 @@ internal fun Project.configureForAllProjects() {
content {
includeModule("com.github.haroldadmin", "WhatTheStack")
includeModule("com.github.open-keychain.open-keychain", "sshauthentication-api")
- includeModule("com.github.IvanShafran", "shared-preferences-mock")
}
}
}
tasks.withType<KotlinCompile> {
kotlinOptions {
allWarningsAsErrors = true
- jvmTarget = JavaVersion.VERSION_1_8.toString()
+ jvmTarget = JavaVersion.VERSION_11.toString()
freeCompilerArgs = freeCompilerArgs + additionalCompilerArgs
languageVersion = "1.5"
}
@@ -110,7 +109,7 @@ internal fun BaseAppModuleExtension.configureAndroidApplicationOptions(project:
/** Apply baseline configurations for all Android projects (Application and Library). */
@Suppress("UnstableApiUsage")
internal fun TestedExtension.configureCommonAndroidOptions() {
- setCompileSdkVersion(30)
+ setCompileSdkVersion(31)
defaultConfig {
minSdk = 23
@@ -133,8 +132,8 @@ internal fun TestedExtension.configureCommonAndroidOptions() {
}
compileOptions {
- sourceCompatibility = JavaVersion.VERSION_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
+ sourceCompatibility = JavaVersion.VERSION_11
+ targetCompatibility = JavaVersion.VERSION_11
}
testOptions {