mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 23:47:02 +05:30
build: update AGP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
9f88bf15ab
commit
7afff19fce
2 changed files with 13 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue