Hi, my gradle settings not work with TestNG, I tri...
# announcements
a
Hi, my gradle settings not work with TestNG, I tried the following settings, but it’s not work, `Unresolved reference: testng`:
Copy code
plugins {
    id "org.jetbrains.kotlin.jvm" version "1.2.10"
}

repositories {
    mavenCentral()
}

dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib"
    compile "org.jetbrains.kotlin:kotlin-reflect"
    testCompile "org.jetbrains.kotlin:kotlin-test"
    testCompile 'org.testng:testng:6.13.1'
}

sourceSets {
    main.kotlin.srcDirs += 'src/'
}

task sourcesJar(type: Jar, dependsOn: classes) {
    classifier = 'sources'
    from sourceSets.main.allSource
}

artifacts {
    archives sourcesJar
}
The official example uses
JUnit
, do I have to migrate it to that? Any suggestion? Thanks