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

Gradle Kotlin DSL Repository Resolution Fix (#14/#15/#16) #16

Closed aepfli closed 2 years ago

aepfli commented 2 years ago

The Kotlin DSL had issues with fetching and uploading dependencies, within #14 we provided a workaround. During the investigation we realized that the whole repository resolution was buggy for Kotlin DSL.

With this changes we are adding tests for fetching dependencies, as well as for uploading. We achieved this by implementing the Action interface directly within the RepositoryActionHandler. Furthermore we removed the deprecated upload method with the owner.

Closes: #14 , #15