Skip to content

Commit

Permalink
Note snapshot usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 5, 2024
1 parent b3ce192 commit ff01bde
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/docs/getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,30 @@ apply plugin: 'com.gradleup.shadow'
apply plugin: 'java'
```

<details>
<summary>Snapshots of the development version are available in Sonatype's snapshots repository.</summary>
<p>

```groovy no-run
buildscript {
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'com.gradleup.shadow:shadow-gradle-plugin:@snapshot-version@'
}
}
apply plugin: 'com.gradleup.shadow'
apply plugin: 'java'
```

</p>
</details>

**NOTE:** The correct maven coordinates for each version of Shadow can be found by referencing the Gradle Plugin documentation [here](https://plugins.gradle.org/plugin/com.gradleup.shadow).

Shadow is a reactive plugin.
Expand Down

2 comments on commit ff01bde

@rafi67000
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

buildscript {} is not the best way to achieve this. It's preferred to configure reposity in settings.gradle in pluginManagement closure

@Goooler
Copy link
Member Author

@Goooler Goooler commented on ff01bde Aug 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add this snapshot maven into your pluginManagement, see Goooler/StringResExporter#84.

Please sign in to comment.