phodal/chapi

View on GitHub
gradle/chapi-module.gradle

Summary

Maintainability
Test Coverage
apply plugin: "java"
//apply plugin: "maven-publish"
//apply plugin: "com.jfrog.bintray"
//apply from: "$rootDir/gradle/publications.gradle"

//buildscript {
//    repositories {
//        jcenter()
//    }
//}

task sourcesJar(type: Jar, dependsOn: classes) {
    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
    archiveClassifier.set("sources")
    from sourceSets.main.allSource
    // Don't include or exclude anything explicitly by default. See SPR-12085.
}

task javadocJar(type: Jar) {
    archiveClassifier.set("javadoc")
    from javadoc
}

artifacts {
    archives sourcesJar
    archives javadocJar
}