Skip to content

Commit

Permalink
v3.14.0: function support added
Browse files Browse the repository at this point in the history
- initial sequential sync
- sequential sync
  • Loading branch information
ishaileshmishra committed Feb 12, 2024
1 parent fb6e92d commit 8d43e49
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions contentstack/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,30 @@ mavenPublishing {
}


tasks.register('jacocoTestReport', JacocoReport) {
dependsOn['testDebugUnitTest', 'createDebugCoverageReport']
reports {
html.enabled = true
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude: '**com/contentstack/okhttp**')
fileTree(dir: it, exclude: '**com/contentstack/okio**')
fileTree(dir: it, exclude: '**com/contentstack/txtmark**')
}))
//tasks.register('jacocoTestReport', JacocoReport) {
// dependsOn['testDebugUnitTest', 'createDebugCoverageReport']
// reports {
// html.enabled = true
// }
// afterEvaluate {
// classDirectories.setFrom(files(classDirectories.files.collect {
// fileTree(dir: it, exclude: '**com/contentstack/okhttp**')
// fileTree(dir: it, exclude: '**com/contentstack/okio**')
// fileTree(dir: it, exclude: '**com/contentstack/txtmark**')
// }))
// }
//}

junitJacoco {
jacocoVersion = '0.8.4' // type String
includeInstrumentationCoverageInMergedReport = true // type boolean
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
}
}


android {
//namespace "com.contentstack.sdk"
packagingOptions {
Expand Down

0 comments on commit 8d43e49

Please sign in to comment.