From 8c56a1d7b84d898714d7ca7d167bd60df033ab57 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 24 Aug 2021 21:33:29 +0530 Subject: Update AndroidX deps (#1491) --- buildSrc/src/main/java/BaseProjectConfig.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'buildSrc/src') 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 { 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 { -- cgit v1.2.3