Skip to content

Commit ca39594

Browse files
committed
JDK 10 support
1 parent 9eb25a5 commit ca39594

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/src/main/kotlin/org/jlleitschuh/guice/binder/LinkedBindingBuilderScope.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ open class LinkedBindingBuilderScope<T : Any>(
5555
* See the EDSL examples at [com.google.inject.Binder].
5656
*/
5757
inline fun <reified P : javax.inject.Provider<out T>> toProvider() =
58-
toProvider(P::class)
58+
toProvider(typeLiteral<P>())
5959
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kotlin.version=1.1.4-3
1+
kotlin.version=1.2.50

kotlin-guiced.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
}
1414
dependencies {
1515
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${property("kotlin.version")}")
16-
classpath("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3")
16+
classpath("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
1717
classpath("org.junit.platform:junit-platform-gradle-plugin:1.1.0-M1")
1818
}
1919
}
@@ -160,7 +160,7 @@ allprojects {
160160
pluginManager.withPlugin("jacoco") {
161161
// If this project has the plugin applied, configure the tool version.
162162
jacoco {
163-
toolVersion = "0.8.0"
163+
toolVersion = "0.8.1"
164164
}
165165
}
166166
}

0 commit comments

Comments
 (0)