Comments (3)
https://github.com/cookpad/license-tools-plugin/releases/tag/v1.2.0
thanks!
from license-tools-plugin.
As a contributor, I agree with this issue ๐
An APK sometimes includes non-Java libraries including NDK libraries, JavaScript libraries, and so on.
from license-tools-plugin.
Got it. I started adding force
flag. It seems working well with generating HTML file, but not JSON file. When I run ./gradlew generateLicenseJson
I got following error:
% ./gradlew generateLicenseJson [18-01-23 18:39:12]
> Configure project :example
The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':example:checkLicenses'.
> Could not resolve all dependencies for configuration ':example:implementationCopy'.
> Could not resolve project :example-dep.
Required by:
project :example
> Cannot choose between the following configurations of project :example-dep:
- debugApiElements
- debugRuntimeElements
- releaseApiElements
- releaseRuntimeElements
All of them match the consumer attributes:
- Configuration 'debugApiElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-api' but wasn't required.
- Configuration 'debugRuntimeElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-runtime' but wasn't required.
- Configuration 'releaseApiElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'release' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-api' but wasn't required.
- Configuration 'releaseRuntimeElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'release' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-runtime' but wasn't required.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
1 actionable task: 1 executed
How can I test generating json?
from license-tools-plugin.
Related Issues (20)
- Generated YAML-like format is incompatible with YAML HOT 2
- `./gradlew generateLicensePage` throwing InvocationTargetException HOT 2
- GenerateLicensePage doenst work HOT 7
- license-tools-plugin v2.0 HOT 1
- updateLicense should remove licenses of unused dependecies HOT 2
- testImplementation dependencies show up when project has no flavor
- Adding ICU License and Bouncy Castle License Template HOT 1
- I can't find licenses.yml in my project. I have created manually but still error. HOT 2
- Cannot show OSS version in report. HOT 1
- how to add the license info for our own library modules? HOT 1
- the generated licenses.json file is not encoded in UTF-8 HOT 1
- File not found Exception HOT 1
- how generated the license.yml and matching HOT 1
- Allow wildcards for elements of the dependency group HOT 1
- Missing CC BY 4.0, SIL OFL 1.1 license template HOT 1
- LicenseToolsPlugin requires all module dependencies (including not depends module's) HOT 2
- Could not resolve all files for configuration ':app:detachedConfiguration3' HOT 1
- Upgrade circleci -> 2.0 HOT 1
- How to add additional Licenses HOT 1
- ใใฎใฉใคใใฉใชใฎใฉใคใปใณในใ่กจ็คบใใใใซใฏ๏ผ HOT 1
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 license-tools-plugin.