![JAR search and dependency download from the Maven repository](/logo.png)
com.parmet.buf.gradle.OutputSupport.kt Maven / Gradle / Ivy
package com.parmet.buf.gradle
import org.gradle.api.Project
import org.gradle.api.Task
import java.io.File
const val BUF_BUILD_DIR = "bufbuild"
internal val Project.bufbuildDir
get() = File(buildDir, BUF_BUILD_DIR)
internal val Task.bufbuildDir
get() = project.bufbuildDir
internal fun Task.createsOutput() {
doFirst { project.bufbuildDir.mkdirs() }
}
internal fun ArtifactDetails.groupAndArtifact() =
"$groupId:$artifactId"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy