Comments (3)
Just in case, I've created my own task (see pgjdbc/pgjdbc#1627 ): https://github.com/vlsi/pgjdbc/blob/gradle/buildSrc/src/main/kotlin/org/postgresql/buildtools/JavaCommentPreprocessorTask.kt
It more-or-less works, however, the configuration with baseDir
+sourceFolders
+excludedPatterns
is kind of rigid.
Ant-like fileset would probably be easier to understand.
PS. you could have plugins { id("...") }
in Gradle if you publish an extra .gradle.plugin
artifact like https://repo1.maven.org/maven2/com/github/vlsi/checksum-dependency/com.github.vlsi.checksum-dependency.gradle.plugin/1.64/com.github.vlsi.checksum-dependency.gradle.plugin-1.64.pom
That is in your case the coordinates should be com.igormaznitsa.jcp:com.igormaznitsa.jcp.gradle.plugin
pom artifact that adds a dependency on a regular jcp
artifacts.
from java-comment-preprocessor.
@vlsi
I made some improvements to define and prefer task properties and use extension properties as default ones, take a look pls
from java-comment-preprocessor.
so, since 7.0.3 there is no extension for Gradle task
from java-comment-preprocessor.
Related Issues (20)
- add function to check existence of variable and check its value if exists HOT 1
- Feature request: #ifdef/#ifndef one-liners HOT 2
- Maven plugin fails if the source folder is missing HOT 5
- Add a skip parameter to the preprocess goal HOT 2
- Add a testPreprocess goal HOT 2
- JCP fails on unknown value HOT 3
- Maven problem HOT 7
- Can I build/run jcp without meta-* dependencies? HOT 11
- Problem with newer mockito? HOT 1
- jcp removes comments even if /r is not specified HOT 6
- Maven property override in command line HOT 4
- IntelliJ IDEA interoperability HOT 5
- JCP is not Gradle clean aware HOT 4
- Multiline local variable HOT 4
- Remove only comments with macros? HOT 4
- Maven plugin, empty global variable value provided in POM throws NPE HOT 5
- Implement custom action preprocessor extension for plugins and cli HOT 8
- can't use absolute paths in #include and evalfile(str)
- Feature Suggestion: Allow whitespace between // and # in directives HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-comment-preprocessor.