Comments (5)
The sources are searched in src/main/java
, the class files in build/classes/main
, build/classes/java/main
, out/production/classes
.
Do you have a different project layout?
from code-assert.
I'm using it in a submodule in IntelliJ.
So the sources are in my_submodule/src/main/jaba
, the class files in my_submodule/build/classes/java/main
and my_submodule/out/production/classes
from code-assert.
Not sure about the problem, but it's intended that every submodule has its own test.
So the main module does not see the submodules. Though, it could make sense to support this.
Is this your problem?
from code-assert.
I just saw that you can do AnalyzerConfig config = AnalyzerConfig.gradle("my_submodule").main();
. Does this solve your problem?
from code-assert.
Yes it works with AnalyzerConfig config = AnalyzerConfig.gradle("my_submodule").main();
from code-assert.
Related Issues (20)
- Java 9 support HOT 7
- Externals should fail dependency rules if not used HOT 3
- Improve Maven module detection HOT 9
- support other JVM languages
- support analyzing jar files
- support minimal source code parsing
- [Question] Why I got these forbidden dependencies? HOT 1
- Should "io.reactivex.*" match the "io.reactivex" package (and not only its sub packages)? HOT 1
- Support SpotBugs and ErrorProne
- Errors in lambdas are not matched my method expressisons
- use plantUML as rule source
- allow saving current state of violations and ignore it
- Split code-assert into several modules HOT 3
- Kotlin Multiplatform Gradle project layout support
- Document additional use-cases HOT 1
- Update ktlint to 0.39.0
- NoClassDefFound error while running example code
- Update JaCoCo to 0.8.8
- Failure when having rules on a package that only contains packages
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 code-assert.