Update to Kotlin 1.3.70

This commit is contained in:
Brian Norman
2020-03-07 12:19:59 -06:00
parent 7d4dc07cf9
commit 2ad1f1b327
9 changed files with 56 additions and 63 deletions
+3 -4
View File
@@ -1,11 +1,11 @@
buildscript {
dependencies {
classpath("gradle.plugin.com.bnorm.power:kotlin-power-assert-gradle:0.1.0")
classpath("gradle.plugin.com.bnorm.power:kotlin-power-assert-gradle:0.2.0")
}
}
plugins {
kotlin("jvm") version "1.3.60"
kotlin("jvm") version "1.3.70"
}
apply(plugin = "com.bnorm.power.kotlin-power-assert")
@@ -16,7 +16,6 @@ repositories {
dependencies {
implementation(kotlin("stdlib-jdk8"))
testImplementation(kotlin("test-junit"))
testImplementation("org.assertj:assertj-core:3.15.0")
}
tasks.compileTestKotlin {
@@ -25,5 +24,5 @@ tasks.compileTestKotlin {
}
configure<com.bnorm.power.PowerAssertGradleExtension> {
functions = listOf("kotlin.test.AssertionsKt.assertTrue", "kotlin.PreconditionsKt.require")
functions = listOf("kotlin.test.assertTrue", "kotlin.require")
}
@@ -25,7 +25,7 @@ data class Person(
)
class PowerAssertTest {
private val people = listOf(Person("Brian", "Norman"), Person("Melinda", "Norman"))
private val people = listOf(Person("John", "Doe"), Person("Jane", "Doe"))
@Test
fun assertTrue() {