Package dev.floofy.utils.gradle

Types

Link copied to clipboard
enum ReleaseType : Enum<ReleaseType>

Returns the release type of specific Version.

Link copied to clipboard
class Version(    major: Int,     minor: Int,     patch: Int,     build: Int = 0,     release: ReleaseType = ReleaseType.None)

Represents a simple version class to use for versioning.

Functions

Link copied to clipboard
infix fun <T> Property<T>.by(value: T)

Simple infix function to add a property of T easily.

Link copied to clipboard
fun DependencyHandler.floofy(    group: String,     module: String,     version: String,     type: String = "implementation"): Dependency
fun KotlinDependencyHandler.floofy(    group: String,     module: String,     version: String,     type: String = "implementation"): Dependency

Adds a dependency to the package that is imported from Noel's Maven repository (located at maven.floofy.dev/repo/[releases|snapshots]).

Link copied to clipboard
fun DependencyHandler.nino(    group: String,     module: String,     version: String,     type: String = "implementation"): Dependency
fun KotlinDependencyHandler.nino(    group: String,     module: String,     version: String,     type: String = "implementation"): Dependency

Adds a dependency to the package that is imported from Noel's Maven repository (located at maven.floofy.dev/repo/[releases|snapshots]).

Link copied to clipboard
fun RepositoryHandler.noel(snapshots: Boolean = false)

Adds Noel's maven repository to the current repository handler.

Link copied to clipboard
fun RepositoryHandler.noelware(snapshots: Boolean = false)

Adds the Noelware Maven repository to the current repository handler.

fun DependencyHandler.noelware(    group: String,     module: String,     version: String,     type: String = "implementation"): Dependency
fun KotlinDependencyHandler.noelware(    group: String,     module: String,     version: String,     type: String = "implementation"): Dependency

Adds a dependency to the package that is imported from Noelware's Maven repository (located at maven.noelware.org/[snapshots]).