Skip to content

Commit

Permalink
Group Kotlin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mhernand40 committed Jan 27, 2020
1 parent 28ccf2b commit 3cd5876
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 31 deletions.
2 changes: 1 addition & 1 deletion demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {
implementation libs.dagger
kapt libs.daggerCompiler
compileOnly libs.jsr250Annotations
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib
implementation libs.mpAndroidChart
implementation libs.chatMessageView
implementation libs.filePicker
Expand Down
6 changes: 4 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ ext.libs = [
mockito: "com.nhaarman:mockito-kotlin-kt1.1:$versions.mockito",
assertJ: "org.assertj:assertj-core:$versions.assertJ",

kotlinStdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
kotlinReflect: "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version",
kotlin: [
stdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
reflect: "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
],

stateMachine: "com.tinder.statemachine:statemachine:$versions.stateMachine"
]
4 changes: 2 additions & 2 deletions scarlet-core-internal/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ dependencies {
api project(':scarlet-core')

implementation libs.rxJava
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
2 changes: 1 addition & 1 deletion scarlet-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java-library'

dependencies {
api libs.reactiveStreams
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation libs.junit
testImplementation libs.assertJ
Expand Down
2 changes: 1 addition & 1 deletion scarlet-lifecycle-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {
implementation libs.rxJava
implementation libs.rxKotlin
implementation libs.appCompat
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation libs.junit
}
Expand Down
4 changes: 2 additions & 2 deletions scarlet-message-adapter-builtin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ apply plugin: 'java-library'

dependencies {
implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-message-adapter-gson/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ dependencies {

implementation project(':scarlet-core')
implementation libs.okio
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-message-adapter-jackson/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ dependencies {
api libs.jacksonDatabind

implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
testImplementation libs.jacksonModuleKotlin
}
4 changes: 2 additions & 2 deletions scarlet-message-adapter-moshi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ dependencies {
api libs.moshi

implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-message-adapter-protobuf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ dependencies {
api libs.protobuf

implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-stream-adapter-builtin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ apply plugin: 'kotlin'

dependencies {
implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-stream-adapter-coroutines/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ dependencies {
api libs.kotlinCoroutinesRxInterop

implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-stream-adapter-rxjava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ dependencies {
api libs.rxJava1

implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet-stream-adapter-rxjava2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ dependencies {
api libs.rxJava

implementation project(':scarlet-core')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
2 changes: 1 addition & 1 deletion scarlet-test-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ dependencies {
compileOnly project(':scarlet')
api libs.assertJ
implementation libs.rxJava
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib
}
2 changes: 1 addition & 1 deletion scarlet-websocket-mockwebserver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ apply plugin: 'java-library'
dependencies {
api libs.mockWebServer
api project(':scarlet-websocket-okhttp')
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib
}
4 changes: 2 additions & 2 deletions scarlet-websocket-okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ dependencies {

implementation project(':scarlet-core-internal')
implementation libs.rxJava
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet')
testImplementation project(':scarlet-websocket-mockwebserver')
testImplementation project(':scarlet-test-utils')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}
4 changes: 2 additions & 2 deletions scarlet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ dependencies {
implementation libs.stateMachine
implementation libs.rxJava
implementation libs.rxKotlin
implementation libs.kotlinStdlib
implementation libs.kotlin.stdlib

testImplementation project(':scarlet-test-utils')
testImplementation project(':scarlet-stream-adapter-rxjava2')
testImplementation libs.junit
testImplementation libs.mockito
testImplementation libs.kotlinReflect
testImplementation libs.kotlin.reflect
testImplementation libs.assertJ
}

0 comments on commit 3cd5876

Please sign in to comment.