GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — java-sdk/build.gradle at develop · btechtutor/java-sdk Expand file tree/ Copy pathbuild.gradleMore file actions 124 lines (95 loc) · 2.47 KB / Copy pathbuild.gradleFile metadata and controls124 lines (95 loc) · 2.47 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 plugins { id 'net.researchgate.release' version '2.4.0' } apply from: 'utils.gradle' apply plugin: 'java' apply plugin: 'checkstyle' apply plugin: 'eclipse' import org.apache.tools.ant.filters.* archivesBaseName = 'parent' description = 'Client library to use the IBM Watson and Alchemy Services' javadoc { source = 'src/main/java' } checkstyle { ignoreFailures = false } checkstyleMain { ignoreFailures = false } checkstyleTest { ignoreFailures = false } task docs(type: Javadoc) { destinationDir = file("$buildDir/docs/all") } task copyJars(type: Copy) { from subprojects.collect { it.tasks.withType(Jar) } into "$buildDir/allJars" } task signJars(type: Copy) { from subprojects.collect { it.tasks.withType(Sign) } into "$buildDir/allJars" } allprojects { apply plugin: 'java' // *Compatibility has no effect before the 'java' plug-in is applied apply plugin: 'jacoco' sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 repositories { mavenCentral() } } subprojects { checkstyleMain { ignoreFailures = false } checkstyleTest { ignoreFailures = false } afterEvaluate { if (plugins.hasPlugin(JavaPlugin)) { rootProject.tasks.docs { source += files(sourceSets.main.allJava) classpath += files(sourceSets*.compileClasspath) } } } } task codeCoverageReport(type: JacocoReport) { // Gather execution data from all sub projects // (change this if you e.g. want to calculate unit test/integration test coverage separately) executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec") // Add all relevant source sets from the sub projects subprojects.each { sourceSets it.sourceSets.main } reports { xml.enabled true xml.destination "${buildDir}/reports/jacoco/report.xml" html.enabled true html.destination "${buildDir}/reports/jacoco" csv.enabled false } } // always run the tests before generating the report codeCoverageReport.dependsOn { subprojects*.test testReport } task testReport(type: TestReport) { destinationDir = file("$buildDir/reports/allTests") // Include the results from the `test` task in all subprojects reportOn subprojects*.test } release { tagTemplate = 'java-sdk-$version' } task(startmessage) << { println 'starting build' } task(printversion) << { println project.version } beforeReleaseBuild.dependsOn startmessage afterReleaseBuild.dependsOn printversion |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |