Comments (5)
I did some further investigation and it is indeed that we have applied kotlin.jvm
at the root project, but at the same time, I was wondering if there is no signature generated, should we even write the API file?
from binary-compatibility-validator.
In a multi-module Gradle project, after running
apiDump
, the fileapi/<projectName>.api
will appear with a blank line.
I applied this plugin in several multi-module projects and I never had this behavior (e.g. ChuckerTeam/chucker#509). Could it be related to a problem on Detekt's top level Gradle module?
from binary-compatibility-validator.
Good point. Yes I definitely found that there is a top-level apiDump
task for Detekt
, but not for chucker
~/detekt(api*) » ./gradlew tasks --all | grep apiDump
apiDump - Syncs API from build dir to api dir for detekt
custom-checks:apiDump - Syncs API from build dir to api dir for custom-checks
detekt-api:apiDump - Syncs API from build dir to api dir for detekt-api
detekt-cli:apiDump - Syncs API from build dir to api dir for detekt-cli
detekt-core:apiDump - Syncs API from build dir to api dir for detekt-core
detekt-formatting:apiDump - Syncs API from build dir to api dir for detekt-formatting
detekt-generator:apiDump - Syncs API from build dir to api dir for detekt-generator
detekt-gradle-plugin:apiDump - Syncs API from build dir to api dir for detekt-gradle-plugin
detekt-metrics:apiDump - Syncs API from build dir to api dir for detekt-metrics
detekt-parser:apiDump - Syncs API from build dir to api dir for detekt-parser
detekt-psi-utils:apiDump - Syncs API from build dir to api dir for detekt-psi-utils
detekt-report-html:apiDump - Syncs API from build dir to api dir for detekt-report-html
detekt-report-sarif:apiDump - Syncs API from build dir to api dir for detekt-report-sarif
detekt-report-txt:apiDump - Syncs API from build dir to api dir for detekt-report-txt
detekt-report-xml:apiDump - Syncs API from build dir to api dir for detekt-report-xml
detekt-rules:apiDump - Syncs API from build dir to api dir for detekt-rules
detekt-rules-complexity:apiDump - Syncs API from build dir to api dir for detekt-rules-complexity
detekt-rules-coroutines:apiDump - Syncs API from build dir to api dir for detekt-rules-coroutines
detekt-rules-documentation:apiDump - Syncs API from build dir to api dir for detekt-rules-documentation
detekt-rules-empty:apiDump - Syncs API from build dir to api dir for detekt-rules-empty
detekt-rules-errorprone:apiDump - Syncs API from build dir to api dir for detekt-rules-errorprone
detekt-rules-exceptions:apiDump - Syncs API from build dir to api dir for detekt-rules-exceptions
detekt-rules-naming:apiDump - Syncs API from build dir to api dir for detekt-rules-naming
detekt-rules-performance:apiDump - Syncs API from build dir to api dir for detekt-rules-performance
detekt-rules-style:apiDump - Syncs API from build dir to api dir for detekt-rules-style
detekt-sample-extensions:apiDump - Syncs API from build dir to api dir for detekt-sample-extensions
detekt-test:apiDump - Syncs API from build dir to api dir for detekt-test
detekt-test-utils:apiDump - Syncs API from build dir to api dir for detekt-test-utils
detekt-tooling:apiDump - Syncs API from build dir to api dir for detekt-tooling
~/chucker(develop) » ./gradlew tasks --all | grep apiDump
library:apiDump - Syncs API from build dir to api dir for library
library-no-op:apiDump - Syncs API from build dir to api dir for library-no-op
from binary-compatibility-validator.
So seems like we can close this @chao2zhang ?
from binary-compatibility-validator.
Good point.
from binary-compatibility-validator.
Related Issues (20)
- Can't apply the BCV plugin to multimodule projects having the KMP applied only in sub-module HOT 1
- Correctly handle wasm_targets klib attribute
- Klib `.api` file does not use tabs HOT 1
- Klib `.api` files could use some vertical spacing HOT 4
- Klib `.api` files should sort members above types HOT 4
- Why use the `.api` extension and not `.abi`? HOT 6
- Klib validation failing on CI but not locally HOT 5
- Klib validation failing with unexpected header line error HOT 1
- Make KLib validation related tasks public HOT 1
- Improve error message when the apiCheck fails due to missing klib dump file
- Klib validation may incorrectly handle projects with generated sources
- Use the Gradle Provider API to allow for lazy configuration HOT 1
- BCV Gradle Plugin should not depend on kotlin-compiler-embeddable HOT 1
- BCV tasks do not work for a project with generated sources when configuration cache is enabled
- org.gradle.api.InvalidUserDataException? HOT 2
- @JvmOverloads doesn't generate different methods for compose functions HOT 2
- Klib validation DSL for Groovy is different HOT 1
- Removal of default parameter is binary compatible but breaks runtime HOT 3
- `public` members of non-API supertype should be visible in the inheritor
- Unknown native target errors with Kotlin 2.0.0-RC1 HOT 4
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 binary-compatibility-validator.