blob: d7f32c6e634434dd793f9f8fb305dbc64d7fa0b9 [file] [log] [blame]
// 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.
plugins {
`kotlin-dsl`
id("dependencies-plugin")
}
java {
sourceSets.main.configure {
java.srcDir(getRoot().resolveAll("src", "library_desugar", "java"))
output.resourcesDir = getRoot().resolveAll("build", "classes", "library_desugar_conversions")
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
}
val thirdPartyCompileDependenciesTask = ensureThirdPartyDependencies(
"compileDeps",
listOf(Jdk.JDK_11.getThirdPartyDependency()))
tasks {
withType<JavaCompile> {
dependsOn(thirdPartyCompileDependenciesTask)
}
}