diff --git a/README.md b/README.md index 7511408..5127169 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A discord plugin using [nv-websocket-client](https://github.com/TakahikoKawasaki/nv-websocket-client) -Latest Version: 1.0-SNAPSHOT (Aug 03, 2020) +Latest Version: 1.0 (Aug 27, 2020) ## Features diff --git a/build.gradle.kts b/build.gradle.kts index 522d353..56a0133 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,7 +24,7 @@ plugins { } group = "com.github.patrick-mc" -version = "1.0-SNAPSHOT" +version = "1.0" repositories { maven("https://repo.maven.apache.org/maven2/") diff --git a/src/main/kotlin/com/github/patrick/discord/DiscordTask.kt b/src/main/kotlin/com/github/patrick/discord/DiscordTask.kt index f84e5ca..0e4719b 100644 --- a/src/main/kotlin/com/github/patrick/discord/DiscordTask.kt +++ b/src/main/kotlin/com/github/patrick/discord/DiscordTask.kt @@ -23,7 +23,5 @@ package com.github.patrick.discord import java.util.TimerTask class DiscordTask(private val unit: () -> Unit) : TimerTask() { - override fun run() { - unit() - } + override fun run() = unit() } \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 29f8953..ec5091c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: Discord -version: "1.0-SNAPSHOT" +version: "1.0" main: com.github.patrick.discord.plugin.DiscordPlugin api-version: "1.13" depend: [Kotlin]