aboutsummaryrefslogtreecommitdiffstats
path: root/gradle
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-24 03:22:05 +0100
committerSven Gothel <[email protected]>2015-03-24 03:22:05 +0100
commita2bf42eafb8d6bc270f832c6bd49793465a593d4 (patch)
treeb7d091648e7da78cfc8675a1206560469d822fd3 /gradle
parent2ed80887326a12a2b47826c5ea0256f1b0c180d5 (diff)
Complete JogAmp GlueGen merge: Relocate and patch unit test, strip unrelated files, add note in README.md
Diffstat (limited to 'gradle')
-rw-r--r--gradle/buildscript.gradle19
-rw-r--r--gradle/check.gradle29
-rw-r--r--gradle/convention.gradle67
-rw-r--r--gradle/github.gradle33
-rw-r--r--gradle/license.gradle9
-rw-r--r--gradle/nexus.gradle43
-rw-r--r--gradle/wrapper/gradle-wrapper.jarbin51018 -> 0 bytes
-rw-r--r--gradle/wrapper/gradle-wrapper.properties6
8 files changed, 0 insertions, 206 deletions
diff --git a/gradle/buildscript.gradle b/gradle/buildscript.gradle
deleted file mode 100644
index 50a1d9c..0000000
--- a/gradle/buildscript.gradle
+++ /dev/null
@@ -1,19 +0,0 @@
-// Executed in context of buildscript
-repositories {
- // mavenLocal()
- mavenCentral()
- // jcenter()
-}
-
-dependencies {
- classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.10.0'
- // classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
- classpath "net.saliman:gradle-cobertura-plugin:2.2.5"
- // classpath 'gradle-release:gradle-release:1.1.5'
- classpath 'org.ajoberstar:gradle-git:0.12.0'
- classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.5'
- classpath('com.netflix.nebula:gradle-info-plugin:1.12.5') {
- exclude group: 'com.perforce'
- }
- classpath 'com.bmuschko:gradle-nexus-plugin:2.2'
-}
diff --git a/gradle/check.gradle b/gradle/check.gradle
deleted file mode 100644
index ad1f9fc..0000000
--- a/gradle/check.gradle
+++ /dev/null
@@ -1,29 +0,0 @@
- // Checkstyle
- // apply plugin: 'checkstyle'
- // checkstyle {
- // ignoreFailures = true
- // configFile = rootProject.file('codequality/checkstyle.xml')
- // }
-
- // FindBugs
- apply plugin: 'findbugs'
- findbugs {
- ignoreFailures = true
- }
- findbugsTest.enabled = false
-
- // PMD
- // apply plugin: 'pmd'
- // tasks.withType(Pmd) { reports.html.enabled true }
-
- apply plugin: 'cobertura'
- cobertura {
- coverageFormats = [ 'html', 'xml' ]
- }
- githubPages {
- pages {
- from(cobertura.coverageReportDir) {
- into "docs/cobertura"
- }
- }
- }
diff --git a/gradle/convention.gradle b/gradle/convention.gradle
deleted file mode 100644
index d0ed864..0000000
--- a/gradle/convention.gradle
+++ /dev/null
@@ -1,67 +0,0 @@
- apply plugin: 'java' // Plugin as major conventions
- apply plugin: 'errorprone'
- apply plugin: 'info'
-
- sourceCompatibility = 1.5
-
- // GRADLE-2087 workaround, perform after java plugin
- status = project.hasProperty('preferredStatus')?project.preferredStatus:(version.contains('SNAPSHOT')?'snapshot':'release')
-
- repositories {
- // mavenLocal()
- mavenCentral()
- // jcenter()
- }
-
- dependencies {
- compile 'com.google.code.findbugs:jsr305:2.0.2'
- compile 'org.slf4j:slf4j-api:1.7.7'
-
- testCompile 'junit:junit:4.11'
-
- testRuntime 'org.slf4j:slf4j-simple:1.7.7'
- }
-
- tasks.withType(JavaCompile) {
- // options.incremental = true
- }
-
- javadoc {
- options.links "http://docs.oracle.com/javase/7/docs/api/",
- "http://docs.oracle.com/javaee/7/api/",
- "http://docs.guava-libraries.googlecode.com/git/javadoc/"
- }
-
- test {
- systemProperty 'org.apache.commons.logging.Log', 'org.apache.commons.logging.impl.SimpleLog'
- systemProperty 'org.apache.commons.logging.simplelog.defaultlog', 'debug'
- systemProperty 'org.apache.commons.logging.diagnostics.dest', 'STDERR'
- systemProperty 'org.slf4j.simpleLogger.logFile', 'System.out'
- systemProperty 'org.slf4j.simpleLogger.defaultLogLevel', 'debug'
- systemProperty 'jna.nosys', 'true'
-
- testLogging {
- if (System.properties['test.single']) {
- // events "passed", "skipped", "failed"
- events "started", "passed", "skipped", "failed"
- showExceptions true
- exceptionFormat "full"
- showStandardStreams true
- } else {
- events "started", "skipped", "failed"
- }
-
- debug {
- events "started", "passed", "skipped", "failed", "standard_out", "standard_error"
- exceptionFormat "full"
- }
- }
- }
-
-apply plugin: 'build-announcements'
-apply plugin: 'build-dashboard'
-
-// Generate wrapper, which is distributed as part of source to alleviate the need of installing gradle
-wrapper {
- gradleVersion = '2.2.1'
-}
diff --git a/gradle/github.gradle b/gradle/github.gradle
deleted file mode 100644
index 64a8fee..0000000
--- a/gradle/github.gradle
+++ /dev/null
@@ -1,33 +0,0 @@
-apply plugin: 'org.ajoberstar.github-pages'
-
-def docTasks = [:]
-[Javadoc,ScalaDoc,Groovydoc].each{ Class docClass ->
- def allSources = allprojects.tasks*.withType(docClass).flatten()*.source
- if (allSources) {
- def shortName = docClass.simpleName.toLowerCase()
- def docTask = task "aggregate${shortName.capitalize()}"(type: docClass, description: "Aggregate subproject ${shortName}s") {
- source = allSources
- destinationDir = file("${project.buildDir}/docs/${shortName}")
- options.links "http://docs.oracle.com/javase/7/docs/api/",
- "http://docs.oracle.com/javaee/7/api/",
- "http://docs.guava-libraries.googlecode.com/git/javadoc/"
- doFirst {
- def classpaths = allprojects.findAll { it.plugins.hasPlugin(JavaPlugin) }.collect { it.sourceSets.main.compileClasspath }
- classpath = files(classpaths)
- }
- }
- docTasks[shortName] = docTask
- publishGhPages.dependsOn(docTask)
- }
-}
-
-githubPages {
- repoUri = "[email protected]:shevek/${rootProject.githubProjectName}.git"
- pages {
- docTasks.each { shortName, docTask ->
- from(docTask.outputs.files) {
- into "docs/${shortName}"
- }
- }
- }
-}
diff --git a/gradle/license.gradle b/gradle/license.gradle
deleted file mode 100644
index 662bde1..0000000
--- a/gradle/license.gradle
+++ /dev/null
@@ -1,9 +0,0 @@
-allprojects {
- apply plugin: 'license' //nl.javadude.gradle.plugins.license.LicensePlugin
- license {
- header rootProject.file('codequality/HEADER')
- ext.year = Calendar.getInstance().get(Calendar.YEAR)
- skipExistingHeaders true
- ignoreFailures true
- }
-}
diff --git a/gradle/nexus.gradle b/gradle/nexus.gradle
deleted file mode 100644
index a51ec4b..0000000
--- a/gradle/nexus.gradle
+++ /dev/null
@@ -1,43 +0,0 @@
- apply plugin: 'com.bmuschko.nexus'
-
- project.afterEvaluate {
- uploadArchives {
- repositories {
- mavenDeployer {
- uniqueVersion = false
- }
- }
- }
- }
-
- modifyPom {
- // Closure to configure all the POM with extra info, common to all projects
- project {
- name "${project.name}"
- description "Java C Preprocessor"
- developers {
- developer {
- id 'shevek'
- name 'Shevek'
- }
- }
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
- url "https://github.com/shevek/${rootProject.githubProjectName}"
- scm {
- connection "scm:git:[email protected]:shevek/${rootProject.githubProjectName}.git"
- url "scm:git:[email protected]:shevek/${rootProject.githubProjectName}.git"
- developerConnection "scm:git:[email protected]:shevek/${rootProject.githubProjectName}.git"
- }
- issueManagement {
- system 'github'
- url "https://github.com/shevek/${rootProject.githubProjectName}/issues"
- }
- }
- }
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index c97a8bd..0000000
--- a/gradle/wrapper/gradle-wrapper.jar
+++ /dev/null
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 58b3586..0000000
--- a/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Tue Dec 02 23:57:35 PST 2014
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip