io.cloudflight.gradle.autoconfigure.util.IsServerProject.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of autoconfigure Show documentation
Show all versions of autoconfigure Show documentation
A opinionated approach to configure a gradle project automatically by convention. It supports to automatically configure various plugins to reduce boilerplate code in gradle projects.
The newest version!
package io.cloudflight.gradle.autoconfigure.util
import io.cloudflight.gradle.autoconfigure.JavaAutoConfigurePluginExtension
import org.gradle.api.Project
import org.gradle.api.provider.Provider
internal fun JavaAutoConfigurePluginExtension.isServerProject(project: Project): Provider {
return this.serverProjectSuffix.map {
project.name.endsWith(it)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy