plugins { // Apply the java-library plugin to add support for Java Library id 'java-library' id 'maven-publish' } sourceCompatibility = 11 targetCompatibility = 11 group 'com.ustadmobile' version '0.1b-snapshot' repositories { // Use jcenter for resolving your dependencies. // You can declare any Maven/Ivy/file repository here. mavenCentral() } dependencies { testImplementation 'org.assertj:assertj-core:3.22.0' // Use JUnit test framework testImplementation 'junit:junit:4.13.1' } test { testLogging { events "passed", "skipped", "failed" } afterSuite { desc, result -> if (!desc.parent) { // will match the outermost suite println "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)" } } } publishing { publications { maven(MavenPublication) { artifactId = "qpack" from components.java } } }