Comments (1)
I'm making our build cache compatible and stumbled upon this. The following test added to CheckLicenseTaskSpec
currently fails
def "using it with configuration cache should not cause the build to fail"() {
given:
buildFile << """
plugins {
id 'com.github.jk1.dependency-license-report' version '2.1'
}
licenseReport {
allowedLicensesFile = new File("${StringEscapeUtils.escapeJava(allowed.path)}")
}
"""
when:
BuildResult buildResult = result("--configuration-cache", "checkLicense")
then:
buildResult.task(":checkLicense").outcome == TaskOutcome.SUCCESS
}
Ideally the plugin would be made configuration cache compatible but at the very least #269 should be followed up on and CheckLicensePreparationTask
as well as CheckLicenseTask
should also be marked as not compatible with the configuration cache so that the plugin tasks do not cause the build to fail in strict configuration cache mode.
from gradle-license-report.
Related Issues (20)
- Installation from jcenter.bintray.com croaks with status code 403 from server: Forbidden
- ExcludeTransitiveDependenciesFilter fails with error: 'developmentOnly' not found. HOT 1
- Improve support for checkLicense to allow license black listing HOT 2
- Implementation of configuration property `excludeBoms` is fragile
- Custom `DependencyDataImporter` implementations should be able to contribute to inputs of `ReportTask`
- Contents of a custom bundle passed to `LicenseBundleNormalizer` should be treated as an input
- Contents of `CheckLicenseTask.allowedLicenseFile` rather than the absolute path should be treated as an input
- Add support for exporting/importing dependency information for multi-licensed modules HOT 2
- Ignore external Jars (ext:"jar")
- No way to Normalize a missing license
- Parent Pom licenses are included even if child pom defines a different license HOT 6
- Release 2.0 missing on releases page HOT 3
- Please make comptible with java 8 again HOT 5
- Root dependency unknowen for Kotlin multiplatform dependencies HOT 3
- `CacheableReportTask` is always up to date after dependency changes when plugin is configured to analyse all configurations
- No license detected for `org.jetbrains.kotlinx:kotlinx-coroutines-core` HOT 4
- Kotlin multiplatform module resolving exceptions HOT 7
- Output dir uses different base pathes
- Multiple reports in the same build script
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 gradle-license-report.