Skip to content

Commit

Permalink
Added jupiter setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszseweryn committed Mar 10, 2024
1 parent dbb55da commit a4e6003
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ ext {
targetCompatibilityVersion = JavaVersion.VERSION_1_8
shadowPluginVersion = '7.1.2'
daggerVersion = '2.42'
junitVersion = '5.10.2'
libs = [
/* Library-only dependencies */
rxjava2 : "io.reactivex.rxjava2:rxjava:$rxJava2Version",
rxjava3 : "io.reactivex.rxjava3:rxjava:$rxJava3Version",
rxandroid : 'io.reactivex.rxjava2:rxandroid:2.1.1',
rxrelay2 : 'com.jakewharton.rxrelay2:rxrelay:2.1.1',
rxrelay3 : 'com.jakewharton.rxrelay3:rxrelay:3.0.1',
junit : 'org.junit.jupiter:junit-jupiter:5.8.1',
junit : ["org.junit.jupiter:junit-jupiter:$junitVersion", 'org.junit.jupiter:junit-jupiter'],
junit_platform : "org.junit:junit-bom:$junitVersion",
junit_runtime : 'org.junit.platform:junit-platform-launcher',
groovy : ['org.codehaus.groovy:groovy:3.0.9', 'org.codehaus.groovy:groovy-test:3.0.9'],
spock : 'org.spockframework:spock-core:2.0-groovy-3.0',
dagger : "com.google.dagger:dagger:$daggerVersion",
Expand Down
2 changes: 1 addition & 1 deletion gradle/src-gen-rxjava3-from-rxjava2.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// generates sources compatible with RxJava 2 to RxJava 3
// copies and transforms sources compatible with RxJava 2 to RxJava 3

copy {
from "../${project.name.substring(0, project.name.length() - 1)}/src"
Expand Down
2 changes: 2 additions & 0 deletions rxandroidble/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ dependencies {

// Test dependencies
testImplementation rootProject.ext.libs.junit
testImplementation platform(rootProject.ext.libs.junit_platform)
testImplementation rootProject.ext.libs.groovy
testImplementation rootProject.ext.libs.spock
testRuntimeOnly rootProject.ext.libs.junit_runtime
}
2 changes: 2 additions & 0 deletions rxandroidble3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ dependencies {
// Test dependencies
testImplementation files(tasks.getByPath(':dagger-library-shadow:shadowJar').archiveFile)
testImplementation rootProject.ext.libs.junit
testImplementation platform(rootProject.ext.libs.junit_platform)
testImplementation rootProject.ext.libs.groovy
testImplementation rootProject.ext.libs.spock
testRuntimeOnly rootProject.ext.libs.junit_runtime
}

0 comments on commit a4e6003

Please sign in to comment.