Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

πŸŽ‰ 1.1.0

Compare
Choose a tag to compare
@auguwu auguwu released this 25 Jul 13:23
· 106 commits to master since this release

Additions

  • Add support for UNIX cron expressions:

    • @hourly
    • @annually / @yearly
    • @monthly
    • @daily
    • @weekly
    • @hourly
    • @reboot isn't supported and probably will never be supported in the near future.
  • Added a Options object, to create a Scheduler.

  • Added a function to create a [Scheduler] with options, example:

val scheduler = Scheduler {
     errorHandler { t -> println(t) }
}

Fixes

  • Properly remove internals from documentation

Installation

Gradle

Kotlin DSL

repositories {
    maven {
        url = uri("https://maven.floofy.dev/repo/releases")
    }
}

dependencies {
    implementation("dev.floofy.haru:Haru:1.1.0")
}

Groovy DSL

repositories {
    maven {
        url "https://maven.floofy.dev/repo/releases"
    }
}

dependencies {
    implementation "dev.floofy.haru:Haru:1.1.0"
}

Maven

<repositories>
    <repository>
        <id>noel-maven</id>
        <url>https://maven.floofy.dev/repo/releases</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>dev.floofy.haru</groupId>
        <artifactId>Haru</artifactId>
        <version>1.1.0</version>
        <type>pom</type>
    </dependency>
</dependencies>