Skip to content

Commit

Permalink
update to support library changes in kotlinx.coroutines version 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
okkero committed May 21, 2017
1 parent 7ab92e3 commit cec8ed9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ https://github.com/Kotlin/kotlinx.coroutines
<dependency>
<groupId>com.okkero.skedule</groupId>
<artifactId>skedule</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
15 changes: 6 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.okkero.skedule</groupId>
<artifactId>skedule</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<packaging>jar</packaging>

<name>Skedule</name>
Expand All @@ -24,7 +24,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.1.1</kotlin.version>
<kotlin.version>1.1.2-2</kotlin.version>
<junit.version>4.12</junit.version>
<dokka.version>0.9.9</dokka.version>
</properties>
Expand All @@ -35,15 +35,12 @@
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>kotlin-1.1</id>
<url>http://dl.bintray.com/kotlin/kotlin-eap-1.1</url>
<id>jcenter</id>
<name>JCenter</name>
<url>https://jcenter.bintray.com/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>kotlin-1.1-plugin</id>
<url>http://dl.bintray.com/kotlin/kotlin-eap-1.1</url>
</pluginRepository>
<pluginRepository>
<id>jcenter</id>
<name>JCenter</name>
Expand All @@ -60,7 +57,7 @@
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>0.12</version>
<version>0.15</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/com/okkero/skedule/SchedulerCoroutine.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ fun BukkitScheduler.schedule(plugin: Plugin, initialContext: SynchronizationCont
* @property currentTask the task that is currently executing within the context of this coroutine
* @property isRepeating whether this coroutine is currently backed by a repeating task
*/
//TODO Verify if thread safe
@RestrictsSuspension
class BukkitSchedulerController(val plugin: Plugin, val scheduler: BukkitScheduler) {

Expand Down

0 comments on commit cec8ed9

Please sign in to comment.