| // Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| import org.gradle.api.JavaVersion |
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| id("dependencies-plugin") |
| sourceSets.test.configure { |
| java.srcDir(root.resolveAll("src", "test", "examplesAndroidP")) |
| sourceCompatibility = JavaVersion.VERSION_1_8 |
| targetCompatibility = JavaVersion.VERSION_1_8 |
| testCompileOnly(Deps.asm) |
| // We just need to register the examples jars for it to be referenced by other modules. |
| val buildExampleJars = buildExampleJars("examplesAndroidP") |
| dependsOn(gradle.includedBuild("shared").task(":downloadDeps")) |