-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (47 loc) · 1.5 KB
/
build.gradle
1
plugins { id "org.jetbrains.kotlin.jvm" version "1.6.0" id "org.sonarqube" version "3.3" id "org.owasp.dependencycheck" version "6.5.0.1" id 'jacoco'}group "org.example"version "1.0-SNAPSHOT"repositories { mavenCentral()}jacocoTestReport { dependsOn test, jacocoTestCoverageVerification reports { xml.required = false csv.required = false html.outputLocation = layout.buildDirectory.dir('jacocoHtml') }}// Minimum 80% test coverage//jacocoTestCoverageVerification {// violationRules {// rule {// limit {// minimum = 0.8// }// }// }//}test { useJUnitPlatform() finalizedBy jacocoTestReport}dependencies { testImplementation "org.jetbrains.kotlin:kotlin-test:1.6.0" testImplementation "org.mockito.kotlin:mockito-kotlin:4.0.0" testImplementation 'io.cucumber:cucumber-java8:7.1.0' testImplementation 'io.cucumber:cucumber-junit:7.1.0' // This dependency makes possible to run cucumber with "gradle test" testImplementation 'org.junit.vintage:junit-vintage-engine:5.8.2' testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.0" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.2" implementation "com.squareup.retrofit2:retrofit:2.9.0" implementation "com.squareup.retrofit2:converter-gson:2.9.0"}