blob: 80be0b82effb7df62d618a30122468c9a31f792b [file]
// Copyright (c) 2026, 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.tasks.Copy
// The majority of the build setup is done by tests_java_8.
java {
sourceSets.test.configure { java.srcDir(getRoot().resolveAll("src", "test", "java8", "ir")) }
}
tasks {
named<Copy>("processTestResources") {
from(sourceSets.test.get().java.srcDirs) {
include(
"com/android/tools/r8/ir/optimize/inliner/conditionalsimpleinlining/SwitchWithSimpleCasesInliningKotlin.kt"
)
}
}
}
dependencies {
runtimeOnlyData(TestRuntimeData.EXAMPLES)
runtimeOnlyData(TestRuntimeData.JAVA_8_RUNTIME)
runtimeOnlyData(TestRuntimeData.JDK_11)
runtimeOnlyData(TestRuntimeData.SMALI)
}