Skip to content

Commit a795a97

Browse files
Clean up android extensions in tests (#1190)
* Clean up android extensions in tests https://developer.android.com/build/releases/gradle-plugin#api-level-support * Update ProjectSpecs to remove shaders config Removed buildFeatures configuration for shaders. --------- Co-authored-by: Gabriel Ittner <[email protected]>
1 parent fde0b7c commit a795a97

File tree

1 file changed

+4
-14
lines changed
  • plugin/src/integrationTest/kotlin/com/vanniktech/maven/publish

1 file changed

+4
-14
lines changed

plugin/src/integrationTest/kotlin/com/vanniktech/maven/publish/ProjectSpecs.kt

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,8 @@ fun kotlinMultiplatformWithAndroidLibraryProjectSpec(agpVersion: AgpVersion, kot
186186
"""
187187
188188
android {
189-
compileSdkVersion = 31
190-
namespace = "com.test"
191-
192-
// resolves config cache issue, can be removed when AGP 8 becomes the minimum supported version
193-
buildFeatures {
194-
shaders = false
195-
}
189+
compileSdk = 34
190+
namespace = "com.test.library"
196191
}
197192
198193
kotlin {
@@ -268,13 +263,8 @@ fun androidLibraryProjectSpec(version: AgpVersion) = ProjectSpec(
268263
buildFileExtra =
269264
"""
270265
android {
271-
namespace "com.test.library"
272-
compileSdkVersion 30
273-
274-
// resolves config cache issue, can be removed when AGP 8 becomes the minimum supported version
275-
buildFeatures {
276-
shaders = false
277-
}
266+
compileSdk = 34
267+
namespace = "com.test.library"
278268
}
279269
280270
// disable the dokka task to speed up Android tests significantly

0 commit comments

Comments
 (0)