Skip to content

Commit

Permalink
Upgradle AGP upto v7.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cosic committed Jan 1, 2022
1 parent a2c123b commit 4657bd2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}

dependencies {
classpath("com.android.tools.build:gradle:7.0.0")
classpath("com.android.tools.build:gradle:7.0.4")
}
}

Expand All @@ -23,6 +23,12 @@ allprojects {
}
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
}
}

configurations.all {
resolutionStrategy {
eachDependency {
Expand Down
4 changes: 1 addition & 3 deletions buildSrc/src/main/kotlin/ru/cian/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package ru.cian

object Dependencies {

const val gradle = "com.android.tools.build:gradle:7.0.0"

object android {
const val compileSdkVersion = 30
const val targetSdkVersion = 30
Expand Down Expand Up @@ -36,7 +34,7 @@ object Dependencies {
}

object gradlePlugins {
const val gradle = "com.android.tools.build:gradle:7.1.0-alpha10"
const val gradle = "com.android.tools.build:gradle:7.0.4"
}

object sample {
Expand Down
6 changes: 6 additions & 0 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ tasks.withType<Test> {
useJUnitPlatform {}
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
}
}

repositories {
google()
mavenCentral()
Expand Down

0 comments on commit 4657bd2

Please sign in to comment.