-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gradle task sends output to info log. Merge misc. fixes.
- Loading branch information
Showing
48 changed files
with
478 additions
and
3,800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,6 @@ Thumbs.db | |
build-plugin.gradle | ||
build-doc.txt | ||
.sonar | ||
/.nb-gradle/ | ||
build/ | ||
/.nb-gradle/ | ||
setenv.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
configurations { | ||
gmetrics | ||
group = 'Reporting' | ||
} | ||
|
||
dependencies { | ||
gmetrics 'org.gmetrics:GMetrics:0.7' | ||
} | ||
|
||
task gmetrics << { | ||
//use GMetrics ant task - http://gmetrics.sourceforge.net/gmetrics-ant-task.html | ||
ant.taskdef(name: 'gmetrics', classname: 'org.gmetrics.ant.GMetricsTask', classpath: configurations.gmetrics.asPath) | ||
task gmetrics { | ||
group = 'Reporting' | ||
doLast { | ||
//use GMetrics ant task - http://gmetrics.sourceforge.net/gmetrics-ant-task.html | ||
ant.taskdef(name: 'gmetrics', classname: 'org.gmetrics.ant.GMetricsTask', classpath: configurations.gmetrics.asPath) | ||
|
||
logging.captureStandardOutput(LogLevel.INFO); | ||
logging.captureStandardOutput(LogLevel.INFO); | ||
|
||
//ensure reporting directory created | ||
ant.mkdir(dir: "${project.reporting.baseDir.path}/gmetrics") | ||
ant.gmetrics(metricSetFile: 'file:gradle/gmetrics-metricset.groovy') { | ||
report(type: 'org.gmetrics.report.BasicHtmlReportWriter') { | ||
option(name: 'outputFile', value: "${project.reporting.baseDir.path}/gmetrics/gmetrics.html") | ||
} | ||
report(type: 'org.gmetrics.report.XmlReportWriter') { | ||
option(name: 'outputFile', value: "${project.reporting.baseDir.path}/gmetrics/gmetrics.xml") | ||
} | ||
fileset(dir: 'src') { | ||
include(name: '**/*.groovy') | ||
//exclusions to filter out any classes with inner classes - sonar doesn't support | ||
exclude(name: '**/*Config*') | ||
} | ||
} | ||
//ensure reporting directory created | ||
ant.mkdir(dir: "${project.reporting.baseDir.path}/gmetrics") | ||
ant.gmetrics(metricSetFile: 'file:gradle/gmetrics-metricset.groovy') { | ||
report(type: 'org.gmetrics.report.BasicHtmlReportWriter') { | ||
option(name: 'outputFile', value: "${project.reporting.baseDir.path}/gmetrics/gmetrics.html") | ||
} | ||
report(type: 'org.gmetrics.report.XmlReportWriter') { | ||
option(name: 'outputFile', value: "${project.reporting.baseDir.path}/gmetrics/gmetrics.xml") | ||
} | ||
fileset(dir: 'src') { | ||
include(name: '**/*.groovy') | ||
//exclusions to filter out any classes with inner classes - sonar doesn't support | ||
exclude(name: '**/*Config*') | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Allow publishing builds to an S3 bucket for testing in other projects | ||
publishing { | ||
repositories { | ||
maven { | ||
// AWS_S3_URL = s3://bucketid/ | ||
url System.getenv('AWS_S3_URL') | ||
credentials(AwsCredentials) { | ||
accessKey System.getenv('AWS_ACCESS_KEY_ID') | ||
secretKey System.getenv('AWS_SECRET_ACCESS_KEY') | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sat Jun 13 18:46:33 CEST 2015 | ||
#Tue Dec 06 16:14:09 CST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.