Support IDEA 2019.2
admizh opened this issue · comments
in IDEA 2019.2 the gradle window was redesigned, and now we have two dropdowns for select build delegation and test runner and ext. plugin not work.
Gradle version 5.4.1 (kotlin DSL).
org.jetbrains.gradle.plugin.idea-ext version 0.5
idea {
project {
this as ExtensionAware
configure<ProjectSettings> {
this as ExtensionAware
configure<NamedDomainObjectContainer<RunConfiguration>> {
this as PolymorphicDomainObjectContainer<RunConfiguration>
project.afterEvaluate({
val aspect = escape(rootProject.configurations["agent"].singleFile)
val jUnit = create("default_junit ", JUnit::class) {
vmParameters = "-ea" +
" -javaagent:\"$aspect\"" +
" -Djunit.jupiter.conditions.deactivate=*" +
" -Djunit.jupiter.extensions.autodetection.enabled=true" +
" -Djunit.jupiter.execution.parallel.enabled=$parallelTestEnabled" +
" -Djunit.jupiter.execution.parallel.config.fixed.parallelism=$parallelTestsCount" +
" -Djunit.jupiter.execution.parallel.mode.default=concurrent" +
" -Djunit.jupiter.testinstance.lifecycle.default=per_method" +
" -Djunit.jupiter.execution.parallel.config.strategy=fixed" +
" -Dallure.results.directory=\"$allureResultsDir\"" +
" -Dmeta.dir=\"$nectarMetaDir\"" +
" -Dallure.label.epic=IDEA" +
" -Dtest.remote=false" +
" -Dheadles=false" +
" -Dprofile="
}
jUnit.setDefaults(true)
})
}
configure<ActionDelegationConfig> {
delegateBuildRunToGradle = true
testRunner = PLATFORM
}
configure<IdeaCompilerConfiguration> {
processHeapSize = 1024
parallelCompilation = true
displayNotificationPopup = true
autoShowFirstErrorInEditor = true
}
}
}
}
@nskvortsov this repository will be live?
ext. plugin not work.
Could you please give a little more details about what is not working?