You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides a simple way to register Sponge's maven repository in a buildscript:
93
+
94
+
```groovy
95
+
plugins {
96
+
id 'org.spongepowered.gradle.repository' version '<version>'
97
+
}
98
+
99
+
repositories {
100
+
sponge.releases()
101
+
sponge.snapshots()
102
+
}
103
+
```
104
+
105
+
This extension is applied to both the `settings``dependencyResolutionManagement` repository section, as well as the buildscript `repositories` section.
106
+
107
+
> **Note**
108
+
> The Kotlin stub generation for `settings.gradle.kts` files does not generate stubs for the `dependencyResolutionManagement.repositories {}` block. The extension will have to be read manually, using something like:
0 commit comments