Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankka committed Jul 5, 2024
1 parent b4152d6 commit b101551
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Deploy with Gradle
run: ./gradlew publish --no-daemon
run: ./gradlew publishToSonatype --no-daemon
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,36 @@
# MinecraftDependencyDownload

**Not yet released**

Minecraft implementations for [DependencyDownload](https://github.com/Vankka/DependencyDownload)

Heavily inspired by [LuckPerms](https://github.com/lucko/LuckPerms)' dependency management system

## Dependency
```groovy
repositories {
mavenCentral()
}
dependencies {
implementation 'dev.vankka:minecraftdependencydownload-<artifact>:1.0.0'
}
```

<details>
<summary>Snapshots</summary>

```groovy
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
implementation 'dev.vankka:minecraftdependencydownload-<artifact>:1.0.1-SNAPSHOT'
}
```
</details>

## How to use it?

The [Wiki](https://github.com/Vankka/MinecraftDependencyDownload/wiki) has guides for the following platforms:
Expand Down
27 changes: 16 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

version '1.0.0-SNAPSHOT'

nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/'))
snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/'))
}
}
}
version '1.0.0'
group = 'dev.vankka'

subprojects {
apply plugin: 'java'
Expand All @@ -28,7 +20,7 @@ subprojects {
dependencyDownloadVersion = '1.3.1'
}

group = 'dev.vankka'
group = rootProject.group
version = rootProject.version

repositories {
Expand All @@ -39,6 +31,10 @@ subprojects {
}
}

java {
withSourcesJar()
withJavadocJar()
}

indraSpotlessLicenser {
licenseHeaderFile(rootProject.file('LICENSE_HEADER'))
Expand Down Expand Up @@ -94,3 +90,12 @@ subprojects {
}
}

nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/'))
snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/'))
packageGroup = rootProject.group
}
}
}

0 comments on commit b101551

Please sign in to comment.