build: update AGP

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-14 17:33:30 +05:30
parent 9f88bf15ab
commit 7afff19fce
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 13 additions and 11 deletions

View file

@ -38,7 +38,7 @@ internal fun Project.configureForAllProjects() {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
jcenter() { jcenter {
content { content {
// Indirect dependencies // Indirect dependencies
// https://youtrack.jetbrains.com/issue/IDEA-261387 // https://youtrack.jetbrains.com/issue/IDEA-261387
@ -102,14 +102,16 @@ internal fun TestedExtension.configureCommonAndroidOptions() {
targetSdkVersion(30) targetSdkVersion(30)
} }
packagingOptions { packagingOptions.resources.excludes.addAll(
exclude("**/*.version") setOf(
exclude("**/*.txt") "**/*.version",
exclude("**/*.kotlin_module") "**/*.txt",
exclude("**/plugin.properties") "**/*.kotlin_module",
exclude("META-INF/AL2.0") "**/plugin.properties",
exclude("META-INF/LGPL2.1") "META-INF/AL2.0",
} "META-INF/LGPL2.1"
)
)
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_11 sourceCompatibility = JavaVersion.VERSION_11

View file

@ -6,8 +6,8 @@
private const val DAGGER_HILT_VERSION = "2.32-alpha" private const val DAGGER_HILT_VERSION = "2.32-alpha"
object Plugins { object Plugins {
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-alpha05" const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-alpha06"
const val androidGradlePlugin_lintModel = "com.android.tools.lint:lint-model:30.0.0-alpha05" const val androidGradlePlugin_lintModel = "com.android.tools.lint:lint-model:30.0.0-alpha06"
const val daggerGradlePlugin = const val daggerGradlePlugin =
"com.google.dagger:hilt-android-gradle-plugin:${DAGGER_HILT_VERSION}" "com.google.dagger:hilt-android-gradle-plugin:${DAGGER_HILT_VERSION}"
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.30" const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.30"