blob: 876a70514134a2107a617eff43c7552ae554a267 [file] [edit]
// 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 java.io.File
public enum class DependencyType {
GOOGLE_STORAGE,
X20,
}
public data class ThirdPartyDependency(
val packageName: String,
val path: File,
val testOnly: Boolean = false,
val type: DependencyType = DependencyType.GOOGLE_STORAGE,
) {
val tarGzFile: File = path.resolveSibling("${path.name}.tar.gz")
val sha1File: File = path.resolveSibling("${path.name}.tar.gz.sha1")
val successFile: File = path.resolveSibling("${path.name}.success")
}