Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System property usage causes Gradle 7 to complain (when using --configuration-cache) #195

Closed
C-Otto opened this issue Mar 16, 2021 · 4 comments
Assignees
Labels
Milestone

Comments

@C-Otto
Copy link

C-Otto commented Mar 16, 2021

Description

When using the plugin with Gradle 7 milestone 3 with --configuration-cache, I get the following:

- Plugin 'com.adarshr.test-logger': read system property 'sun.jnu.encoding'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'sun.arch.data.model'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'sun.boot.library.path'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'sun.java.command'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'jdk.debug'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'java.vm.compressedOopsMode'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'sun.management.compiler'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'file.encoding'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'java.io.tmpdir'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'sun.io.unicode.encoding'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'library.jansi.path'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'user.variant'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'user.timezone'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'user.country'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Plugin 'com.adarshr.test-logger': read system property 'sun.java.launcher'
  See https://docs.gradle.org/7.0-milestone-3/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
plus 9 more problems. Please see the report for details.

Versions

  • Test logger version: 2.1.1
  • Gradle version: 7.0 M3
  • Java version: 15.0.2
@C-Otto
Copy link
Author

C-Otto commented Mar 16, 2021

image

@petedoyle
Copy link

I just wanted to +1 this. I work on a project that has ~50 modules, and my estimate is configuration caching will chop ~17 seconds off each ~20 second dev build. (i.e. ~20s -> 3s). Would be a huge win for us.

@C-Otto
Copy link
Author

C-Otto commented Mar 20, 2021

There is a "+1" button in the top right, you might as well use that :)

@radarsh
Copy link
Owner

radarsh commented Mar 24, 2021

This should be fixed once I release a new version this week. Configuration cache support is already in place.

@radarsh radarsh added this to the 3.0.0 milestone Apr 1, 2021
@radarsh radarsh closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants