GithubHelp home page GithubHelp logo

Comments (5)

chao2zhang avatar chao2zhang commented on May 25, 2024 1

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.

cortinico avatar cortinico commented on May 25, 2024

In a multi-module Gradle project, after running apiDump, the file api/<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.

chao2zhang avatar chao2zhang commented on May 25, 2024

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.

cortinico avatar cortinico commented on May 25, 2024

So seems like we can close this @chao2zhang ?

from binary-compatibility-validator.

chao2zhang avatar chao2zhang commented on May 25, 2024

Good point.

from binary-compatibility-validator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.