Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated all recipes to 7.2.0 final #29

Open
wants to merge 1 commit into
base: agp-7.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion BuildSrc/addBuildTypeUsingDslFinalize/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ apply<ExamplePlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}

}
4 changes: 2 additions & 2 deletions BuildSrc/addBuildTypeUsingDslFinalize/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
1 change: 0 additions & 1 deletion BuildSrc/customizeAgpDsl/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}
buildTypes {
debug {
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/customizeAgpDsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/customizeAgpDsl/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
1 change: 0 additions & 1 deletion BuildSrc/customizeAgpDslAndVariant/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ apply<ConsumerPlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}
buildTypes {
debug {
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/customizeAgpDslAndVariant/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/customizeAgpDslAndVariant/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ apply<ConsumerPlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
1 change: 0 additions & 1 deletion BuildSrc/getApksTest/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ apply<ExamplePlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}

}
4 changes: 2 additions & 2 deletions BuildSrc/getApksTest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/getApksTest/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
1 change: 0 additions & 1 deletion BuildSrc/manifestReplacementTest/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ apply<ExamplePlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}

}
4 changes: 2 additions & 2 deletions BuildSrc/manifestReplacementTest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/manifestReplacementTest/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
1 change: 0 additions & 1 deletion BuildSrc/manifestUpdaterTest/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ apply<ExamplePlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}

}
4 changes: 2 additions & 2 deletions BuildSrc/manifestUpdaterTest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/manifestUpdaterTest/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
1 change: 0 additions & 1 deletion BuildSrc/setVersionsFromTask/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ apply<CustomPlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}
}
4 changes: 2 additions & 2 deletions BuildSrc/setVersionsFromTask/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
6 changes: 3 additions & 3 deletions BuildSrc/setVersionsFromTask/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,10 +14,10 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
dependencies {
implementation("com.android.tools.build:gradle:7.1.0-alpha13")
implementation("com.android.tools.build:gradle:7.2.0")
}
1 change: 0 additions & 1 deletion BuildSrc/testAsmTransformApi/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ apply<ExamplePlugin>()
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}

}
4 changes: 2 additions & 2 deletions BuildSrc/testAsmTransformApi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
4 changes: 2 additions & 2 deletions BuildSrc/testAsmTransformApi/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,7 +14,7 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ abstract class ExamplePlugin : Plugin<Project> {
val androidComponents = project.extensions.getByType(AndroidComponentsExtension::class.java)

androidComponents.onVariants { variant ->
variant.transformClassesWith(ExampleClassVisitorFactory::class.java,
InstrumentationScope.ALL) {
variant.instrumentation.transformClassesWith(ExampleClassVisitorFactory::class.java,
InstrumentationScope.ALL) {
it.writeToStdout.set(true)
}
variant.setAsmFramesComputationMode(FramesComputationMode.COPY_FRAMES)
variant.instrumentation.setAsmFramesComputationMode(FramesComputationMode.COPY_FRAMES)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
android { compileSdkVersion(29)
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
}
}
4 changes: 2 additions & 2 deletions BuildSrc/testVariantFilteringOnBuildType/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath(kotlin("gradle-plugin", version = "1.4.32"))
classpath("com.android.tools.build:gradle:7.2.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))

}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.4.32"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand All @@ -14,10 +14,10 @@ tasks.withType<KotlinCompile>().configureEach {
}

dependencies {
implementation("com.android.tools.build:gradle-api:7.1.0-alpha13")
implementation("com.android.tools.build:gradle-api:7.2.0")
implementation(kotlin("stdlib"))
gradleApi()
}
dependencies {
implementation("com.android.tools.build:gradle:7.1.0-alpha13")
implementation("com.android.tools.build:gradle:7.2.0")
}
Loading