flutter/packages/integration_test/android
Bartek Pacia 117bb4788b
integration_test: migrate to build.gradle.kts (#156291)
This PR is yet another attempt (after #154125) to reland #142008.

Benefit: this will be the first plugin in Flutter repo that uses Gradle KTS for Android buildscripts. Once it works fine, we can follow up with migration of more plugins later.

[The previous error message](https://github.com/flutter/flutter/pull/142008#issuecomment-1939558432) was:

```
e: /b/s/w/ir/cache/gradle/caches/jars-8/42139b5be0c79e133a7b5c5c5d5bf731/gradle-7.3.1.jar!/com/android/build/gradle/LibraryExtension.class: Class 'com/android/build/gradle/LibraryExtension' was compiled with an incompatible version of Kotlin. The binary version of its bytecode is unknown, expected version is 1.0.3
e: /b/s/w/ir/cache/gradle/caches/jars-8/043c0d54e2c1bb39208ec4477607cdf5/gradle-api-7.3.1.jar!/com/android/build/api/dsl/LibraryVariantDimension.class: Class 'com/android/build/api/dsl/LibraryVariantDimension' was compiled with an incompatible version of Kotlin. The binary version of its bytecode is unknown, expected version is 1.0.3

FAILURE: Build failed with an exception.

* Where:
Build file '/b/s/w/ir/x/w/flutter/packages/integration_test/android/build.gradle.kts' line: 36

* What went wrong:
com.android.build.gradle.LibraryExtension.setNamespace(Ljava/lang/String;)V
```

The `integration_test` plugin now puts `com.android.tools.build:gradle:8.1.0` on its classpath since https://github.com/flutter/flutter/issues/153795.

This makes me take an optimistic bet that it won't kill the autoroller now 🤞
2024-10-17 18:00:06 +00:00
..
src chore: fix typos and link broken (#150402) 2024-07-03 17:10:19 +00:00
.gitignore Move package:integration_test to flutter/flutter (#69622) 2020-11-05 17:28:47 -08:00
build.gradle.kts integration_test: migrate to build.gradle.kts (#156291) 2024-10-17 18:00:06 +00:00
gradle.properties Restore log dumps for gradle OOM crashes, and set a value for MaxMetaspaceSize (#143085) 2024-02-07 19:25:39 +00:00
lib-proguard-rules.txt Support minifcation for apps that depend on AGP 8 and integration_test (#127628) 2023-05-26 19:30:44 +00:00
settings.gradle.kts integration_test: migrate to build.gradle.kts (#156291) 2024-10-17 18:00:06 +00:00