aepfli / gradle-gitlab-repositories

Handling Maven GitLab dependencies made easy. Define multiple tokens and selectively apply them to repositories, remove the need for repeating Credential handling blocks for different environments.
Eclipse Public License 2.0
13 stars 1 forks source link

Version 0.6.0 does not work with gradle version below 7.x #39

Closed aepfli closed 2 years ago

aepfli commented 2 years ago
Caused by: java.lang.AbstractMethodError: Receiver class at.schrottner.gradle.auths.Token does not define or inherit an implementation of the resolved method 'abstract void setProperty(java.lang.String, java.lang.Object)' of interface groovy.lang.GroovyObject.

based on https://discuss.gradle.org/t/my-plugin-cant-be-applied-when-plugin-is-built-with-gradle-7-1-1/40464/3 it seems like we need to downgrade our used gradle version to 6.9.2

aepfli commented 2 years ago

directly changed gradle wrapper in main branch new verison 0.6.1 should fix this (not tested sry)