All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cloudflight.gradle.autoconfigure.util.IsServerProject.kt Maven / Gradle / Ivy

Go to download

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