jponge
01/08/2018, 10:17 AMvertx-gradle-plugin
has no impact on thatdave08
01/08/2018, 12:58 PMplugins {
id 'io.vertx.vertx-plugin' version '0.0.6'
id 'org.jetbrains.kotlin.jvm' version '1.2.10'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'io.vertx:vertx-lang-kotlin'
compile 'io.vertx:vertx-lang-kotlin-coroutines'
compile 'io.vertx:vertx-web'
compile 'io.vertx:vertx-mysql-postgresql-client'
compile 'io.vertx:vertx-sql-common'
compile 'org.jetbrains.kotlin:kotlin-stdlib-jre8'
def coroutinesVersion = '0.21'
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
group 'com.comp.api'
version '1.0-SNAPSHOT'
kotlin { experimental { coroutines 'enable' } }
vertx {
mainVerticle = "MainVerticle"
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
dave08
01/08/2018, 1:19 PMjponge
01/08/2018, 1:42 PMjponge
01/08/2018, 1:42 PMdave08
01/08/2018, 1:44 PMWarning:<i><b>root project 'deviceRegistration': Unable to build Kotlin project configuration</b>
Details: java.lang.reflect.InvocationTargetException: null
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':compileClasspath'.
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find io.vertx:vertx-lang-kotlin-coroutines:.
Required by:
project :</i>
jponge
01/08/2018, 1:51 PMjponge
01/08/2018, 1:51 PMjponge
01/08/2018, 1:51 PMvertx-dependencies
kind of BOMdave08
01/08/2018, 1:55 PMio.vertx.vertx-plugin
, but I guess nothings' perfect. 😉jponge
01/08/2018, 1:56 PM