ysb33r / gradle Goto Github PK
View Code? Open in Web Editor NEWGradle Plugins
Gradle Plugins
Change id from doxygen
to org.ysb33r.doxygen
add the Closure property processPom
to bintray meta data
Change "ivy" to "maven". As in:
repositories {
maven { url 'http://dl.bintray.com/ysb33r/grysb33r' }
}
The task should be renamed to GnuMakeBuild and the following properties should be supported
startParameter will not be supported as it is Gradle-specific
See http://www.gradle.org/docs/current/dsl/org.gradle.api.tasks.GradleBuild.html
If you try to deploy to bintray with java 6 and below, you get a cryptic error related to the http basic credential. To alleviate confusion, throw a GrailsException("You need java 7 to upload to bintray")
After playing around with this a little bit today, it would appear that the 'template' is not a valid configuration option.
build.gradle snipped:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.ysb33r.gradle:doxygen:0.1'
}
}
apply plugin: 'doxygen'
if (!hasProperty('mainClass')) {
ext.mainClass = mainClassName
}
doxygen{
generate_html true
source new File(projectDir, 'src/main/java');
source new File(projectDir, 'src/test/java');
template 'Doxyfile'
}
debug output snipped:
15:34:50.603 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
15:34:50.604 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'MVQC'.
15:34:50.604 [ERROR] [org.gradle.BuildExceptionReporter] > 'template' is not a valid configuration option
15:34:50.605 [ERROR] [org.gradle.BuildExceptionReporter]
15:34:50.605 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
15:34:50.606 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'MVQC'.
15:34:50.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
15:34:50.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:156)
15:34:50.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
15:34:50.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
15:34:50.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
15:34:50.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
15:34:50.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:507)
15:34:50.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:82)
15:34:50.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:31)
15:34:50.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
15:34:50.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
15:34:50.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
15:34:50.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
15:34:50.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
15:34:50.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
15:34:50.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
15:34:50.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
15:34:50.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
15:34:50.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
15:34:50.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:46)
15:34:50.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
15:34:50.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:37)
15:34:50.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
15:34:50.611 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
15:34:50.611 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
15:34:50.611 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.ysb33r.gradle.doxygen.DoxygenException: 'template' is not a valid configuration option
15:34:50.611 [ERROR] [org.gradle.BuildExceptionReporter] at org.ysb33r.gradle.doxygen.Doxygen.methodMissing(Doxygen.groovy:179)
15:34:50.611 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:246)
15:34:50.611 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:134)
15:34:50.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:163)
15:34:50.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.ysb33r.gradle.doxygen.Doxygen_Decorated.invokeMethod(Unknown Source)
15:34:50.612 [ERROR] [org.gradle.BuildExceptionReporter] at build_7rcgjimj02ga7n4gp9cod4b9iq$_run_closure1.doCall(C:\Users\William\Documents\MVQCRepo\trunk\MVQC\Generator\MVQC\build.gradle:28)
15:34:50.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:58)
15:34:50.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)
15:34:50.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:110)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:439)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:59)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:50)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:91)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.DefaultNamedDomainObjectCollection$ContainerElementsDynamicObject.invokeMethod(DefaultNamedDomainObjectCollection.java:324)
15:34:50.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147)
15:34:50.614 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
15:34:50.614 [ERROR] [org.gradle.BuildExceptionReporter] at build_7rcgjimj02ga7n4gp9cod4b9iq.run(C:\Users\William\Documents\MVQCRepo\trunk\MVQC\Generator\MVQC\build.gradle:24)
15:34:50.614 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
15:34:50.614 [ERROR] [org.gradle.BuildExceptionReporter] ... 30 more
15:34:50.614 [ERROR] [org.gradle.BuildExceptionReporter]
small side note, the file "Doxyfile" lives in the present working directory (same level as build.gradle)
bintray does not support SNAPSHOTS, might be cleaner to have a reasonable message if the version already exists instead of an http failure. I apologize if you are already doing something like this. Only took a quick glance of the code
I think this could be big enough that it might be better to migrate it to its own repo. I suppose a lot of this will depend on jfrog's activity with theirs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.