Skip to content

r2.5.1 - Error during compilation - Could not get unknown property 'LocalDate' for object of type org.gradle.api.internal.file.copy.CopySpecWrapper_Decorated. #3571

@minicode01

Description

@minicode01

Description

Using Debian 10. Downloaded Skript release 2.5.1. Attempting a straight clean build.
Getting compilation error: Could not get unknown property 'LocalDate' for object of type org.gradle.api.internal.file.copy.CopySpecWrapper_Decorated.

Steps to Reproduce

Expected Behavior

Successful compilation, as none of the original files have been modified.

Errors / Screenshots

# gradle --info clean build
Initialized native services in: /root/.gradle/native
The client will now receive all logging from the daemon (pid: 895). The daemon log file: /root/.gradle/daemon/4.4.1/daemon-895.out.log
Starting 3rd build in daemon [uptime: 3 mins 24.195 secs, performance: 98%]
Using 4 worker leases.
Creating new cache for fileHashes, path /opt/Skript-2.5.1/.gradle/4.4.1/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@56f1a2a7
Starting Build
Settings evaluated using settings file '/opt/Skript-2.5.1/settings.gradle'.
Projects loaded. Root project using build file '/opt/Skript-2.5.1/build.gradle'.
Included projects: [root project 'Skript', project ':skript-worldguard6']

> Configure project : 
Evaluating root project 'Skript' using build file '/opt/Skript-2.5.1/build.gradle'.
Creating new cache for metadata-1.1/results, path /root/.gradle/caches/transforms-1/metadata-1.1/results.bin, access org.gradle.cache.internal.DefaultCacheAccess@43dbbbae
Creating new cache for metadata-2.36/module-metadata, path /root/.gradle/caches/modules-2/metadata-2.36/module-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@13d7d854
Creating new cache for metadata-2.36/module-artifacts, path /root/.gradle/caches/modules-2/metadata-2.36/module-artifacts.bin, access org.gradle.cache.internal.DefaultCacheAccess@13d7d854
Creating new cache for metadata-2.36/module-artifact, path /root/.gradle/caches/modules-2/metadata-2.36/module-artifact.bin, access org.gradle.cache.internal.DefaultCacheAccess@13d7d854
Adding license extension
Adding download licenses extension
Applying defaults to download task: :downloadLicenses
Adding licenseMain task for sourceSet main
Applying license defaults to task: :licenseMain
Applying license defaults to task: :licenseFormatMain
Adding licenseTest task for sourceSet test
Applying license defaults to task: :licenseTest
Applying license defaults to task: :licenseFormatTest


FAILURE: Build failed with an exception.

* Where:
Build file '/opt/Skript-2.5.1/build.gradle' line: 228

* What went wrong:
A problem occurred evaluating root project 'Skript'.
> Could not get unknown property 'LocalDate' for object of type org.gradle.api.internal.file.copy.CopySpecWrapper_Decorated.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

The line 228 is:
"today": "" + LocalDate.now(),

Server Information

  • Server version/platform: Debian 10
  • Skript version: 2.5.1

Additional Context

Thank you in advance to anyone who can provide assistance :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    completedThe issue has been fully resolved and the change will be in the next Skript update.investigatingThe core developers are currently investigating this issue. Usually used for complex cases.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions