Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration: remove stdlib as transitive dependency #2320

Merged
merged 3 commits into from
Mar 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions arrow-libs/ank/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ kotlin.incremental=true
# Kotlin Test configuration
#Parallelism needs to be set to 1 since the concurrent tests in arrow-effects become flaky otherwise
kotlintest.parallelism=1
kotlin.stdlib.default.dependency=false
1 change: 1 addition & 0 deletions arrow-libs/core/arrow-annotations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
api "io.kindedj:kindedj:$KINDEDJ_VERSION"
}
1 change: 1 addition & 0 deletions arrow-libs/core/arrow-continuations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ apply from: "$ANIMALSNIFFER"
apply plugin: 'kotlinx-atomicfu'

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$JUNIT_VINTAGE_VERSION"
testCompileOnly "io.kotlintest:kotlintest-runner-junit5:$KOTLIN_TEST_VERSION", excludeArrow
testImplementation project(":arrow-core-test")
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/core/arrow-core-data/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
api project(":arrow-annotations")
api project(":arrow-continuations")
testCompileOnly project(":arrow-syntax")
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/core/arrow-core-retrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
compileOnly project(":arrow-core-data")
compileOnly "com.squareup.retrofit2:retrofit:$RETROFIT_VERSION"
testCompileOnly "org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION"
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/core/arrow-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
api project(":arrow-core-data")
testCompileOnly project(":arrow-core-test")
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$JUNIT_VINTAGE_VERSION"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ apply from: "../$DOC_CREATION"
apply from: "../$SUB_PROJECT"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
compileOnly "com.google.auto.service:auto-service:$GOOGLE_AUTO_SERVICE_VERSION"
kapt "com.google.auto.service:auto-service:$GOOGLE_AUTO_SERVICE_VERSION"
compileOnly project(":arrow-annotations")
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/core/arrow-syntax/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
api project(":arrow-core")
testCompileOnly "org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$JUNIT_VINTAGE_VERSION"
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/core/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ kotlin.incremental=true
#Parallelism needs to be set to 1 since the concurrent tests in arrow-effects become flaky otherwise
kotlintest.parallelism=1
kapt.incremental.apt=false
kotlin.stdlib.default.dependency=false
1 change: 1 addition & 0 deletions arrow-libs/fx/arrow-fx-reactor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
compile project(":arrow-fx")
compile project(":arrow-annotations")
testRuntime "org.junit.vintage:junit-vintage-engine:$JUNIT_VINTAGE_VERSION"
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/fx/arrow-fx-rx2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
compile project(":arrow-fx")
compile project(":arrow-annotations")
testRuntime "org.junit.vintage:junit-vintage-engine:$JUNIT_VINTAGE_VERSION"
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/fx/arrow-fx-suspend-connection/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
testImplementation "io.kotest:kotest-runner-junit5-jvm:$KOTEST_VERSION" // for kotest framework
testImplementation "io.kotest:kotest-assertions-core-jvm:$KOTEST_VERSION" // for kotest core jvm assertions
testImplementation "io.kotest:kotest-property-jvm:$KOTEST_VERSION" // for kotest property test
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/fx/arrow-fx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
implementation project(":arrow-fx-suspend-connection")
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$KOTLINX_COROUTINES_VERSION"

Expand Down
1 change: 1 addition & 0 deletions arrow-libs/fx/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ kotlin.incremental=true
#Parallelism needs to be set to 1 since the concurrent tests in arrow-effects become flaky otherwise
kotlintest.parallelism=1
kapt.incremental.apt=false
kotlin.stdlib.default.dependency=false
1 change: 1 addition & 0 deletions arrow-libs/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ kotlin.incremental=true
#Parallelism needs to be set to 1 since the concurrent tests in arrow-effects become flaky otherwise
kotlintest.parallelism=1
kapt.incremental.apt=false
kotlin.stdlib.default.dependency=false

COMMON_SETUP=../gradle/setup.gradle
ROOT_PROJECT=../gradle/main.gradle
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/optics/arrow-optics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
compile project(":arrow-core")

kapt project(":arrow-meta")
Expand Down
1 change: 1 addition & 0 deletions arrow-libs/optics/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ kotlin.incremental=true
# Kotlin Test configuration
#Parallelism needs to be set to 1 since the concurrent tests in arrow-effects become flaky otherwise
kotlintest.parallelism=1
kotlin.stdlib.default.dependency=false