Comments (4)
@reiko8D
You mean you'd like to run checkLicense
every gradle sync on AS with configuring build.gradle
, don't you?
You can it with preBuild.dependsOn(checkLicense)
, I think. http://stackoverflow.com/questions/27816699/android-studio-gradle-task-to-execute-after-sync
But we recommend you run the task on CI since the task takes additional time.
from license-tools-plugin.
Thank you for your answer, I tried preBuild.dependsOn(checkLicense)
, but get build error
Error:(25, 0) Could not get unknown property 'checkLicense' for project ':app' of type org.gradle.api.Project.
I also asked similar question how to set build.gradle file at stackoverflow.
We will run the check task before release until we find a way to do it automatically.
Anyway, arigatou gozaimasu.
from license-tools-plugin.
@reiko8D
Oops, I think its my mistake. checkLicense
should be checkLicenses
.
checkLicense
part should set correct task name you can obtain from gradle tasks
.
from license-tools-plugin.
I think stackoverflow is better than asking about it here since this issue is related to Gradle and Android Studio.
So, I close this issue.
Thanks!
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.