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

View file

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