-
Notifications
You must be signed in to change notification settings - Fork 0
Dependencies
Devrath edited this page Sep 2, 2023
·
1 revision
-
testImplementation
---> This indicates this will run for unit tests -
testRuntimeOnly
---> These dependencies are used to run during the test case execution
- Requirements
Add the below lines in the app-level
build.gradle
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'de.mannodermaus.android-junit5' version "1.9.3.0"
}
- Compile options
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
- Kotlin options
kotlinOptions {
jvmTarget = '17'
}
- Compose options
composeOptions {
kotlinCompilerExtensionVersion '1.4.5'
}
- Project level gradle
plugins {
id 'com.android.application' version '8.0.1' apply false
id 'com.android.library' version '8.0.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
}
Dependencies |
Usage |
---|---|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.3" |
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.3" |
|
testImplementation "org.junit.jupiter:junit-jupiter-params:5.9.3" |