blob: 19d2b4faae1282d167306f627b75f8c933840927 [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", "desugar")) }
}
tasks {
named<Copy>("processTestResources") {
from(sourceSets.test.get().java.srcDirs) {
include("com/android/tools/r8/desugar/nestaccesscontrol/methodparameters/Outer.java")
include("com/android/tools/r8/desugar/twr/TwrTestSource.java")
include("com/android/tools/r8/desugar/desugaredlibrary/kotlin/Blog.kt")
include("com/android/tools/r8/desugar/desugaredlibrary/kotlin/Main.kt")
}
}
}
dependencies {
runtimeOnlyData(project(":third_party", "coreLambdaStubs"))
runtimeOnlyData(project(":third_party", "gson"))
runtimeOnlyData(project(":third_party", "guavaJre"))
runtimeOnlyData(project(":third_party", "jacoco"))
runtimeOnlyData(project(":third_party", "multidex"))
}