Skip to content

Commit

Permalink
Non working build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
usbpc committed Feb 28, 2018
1 parent fc1d032 commit c14fd0a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Kuroji-Websocket-Client/build.gradle
Expand Up @@ -20,6 +20,10 @@ repositories {
mavenCentral()
}

configurations {
extraLib
}

dependencies {
compile 'io.grpc:grpc-protobuf:1.10.0'
compile 'org.apache.curator:curator-x-async:4.0.1'
Expand All @@ -28,7 +32,8 @@ dependencies {
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.22.2'
compile 'com.github.salomonbrys.kotson:kotson:2.5.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile project(":kuroji-websocket-shared")
extraLib project(":kuroji-websocket-shared")
configurations.compile.extendsFrom(configurations.extraLib)
}

compileKotlin {
Expand All @@ -50,4 +55,10 @@ publishing {
from components.java
}
}
}

jar {
from {
configurations.extraLib.collect { it.isDirectory() ? it : zipTree(it) }
}
}

0 comments on commit c14fd0a

Please sign in to comment.