Skip to content

Commit

Permalink
Release 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi committed Aug 8, 2022
1 parent 273cf9f commit d2e67fe
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 19 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish LiteCommands
on:
push:
branches: [ master ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'gradle'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Publish with Gradle
run: ./gradlew clean build publish --stacktrace
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Helpful links:
- [Support Discord](https://discord.gg/6cUhkj6uZJ)
- [GitHub issues](https://github.com/Rollczi/LiteCommands/issues)
- [Example (Modern 2.4.1)](https://github.com/Rollczi/LiteCommands/tree/master/examples/bukkit)
- [Example (Modern 2.4.2)](https://github.com/Rollczi/LiteCommands/tree/master/examples/bukkit)
- [Docs (Legacy 1.7.2)](https://docs.rollczi.dev/)

### Panda Repository (Maven or Gradle) ❤️
Expand All @@ -25,11 +25,11 @@ Framework Core
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>core</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>
```
```groovy
implementation 'dev.rollczi.litecommands:core:2.4.1'
implementation 'dev.rollczi.litecommands:core:2.4.2'
```

### First Simple Command
Expand Down Expand Up @@ -64,11 +64,11 @@ Add this to your dependencies if you want use ready-made implementation for velo
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>velocity</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>
```
```groovy
implementation 'dev.rollczi.litecommands:velocity:2.4.1'
implementation 'dev.rollczi.litecommands:velocity:2.4.2'
```

#### All extensions:
Expand Down
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {

allprojects {
group = "dev.rollczi.litecommands"
version = "2.4.1"
version = "2.4.2"

apply(plugin = "java-library")
apply(plugin = "maven-publish")
Expand All @@ -41,19 +41,19 @@ subprojects {
}

publishing {
/*
repositories {
mavenLocal()

maven {
name = "panda-repository"
url = uri("https://repo.panda-lang.org/releases")
credentials {
username = properties["panda_user_litecommands"] as String
password = properties["panda_pass_litecommands"] as String
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}

/*
maven {
name = "eternalcode-repository"
url = uri("https://repo.eternalcode.pl/releases")
Expand All @@ -71,8 +71,8 @@ subprojects {
password = properties["mine_pass"] as String
}
}
*/
}
*/
}
}

Expand Down
2 changes: 1 addition & 1 deletion examples/bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {

dependencies {
compileOnly("org.spigotmc:spigot-api:1.19.1-R0.1-SNAPSHOT")
// implementation("dev.rollczi.litecommands:bukkit:2.4.1") // <-- uncomment in your project
// implementation("dev.rollczi.litecommands:bukkit:2.4.2") // <-- uncomment in your project
implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle

testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
Expand Down
4 changes: 2 additions & 2 deletions litecommands-bukkit-adventure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Maven
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>bukkit-adventure</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>
```
Gradle
```groovy
implementation 'dev.rollczi.litecommands:bukkit-adventure:2.4.1'
implementation 'dev.rollczi.litecommands:bukkit-adventure:2.4.2'
```
4 changes: 2 additions & 2 deletions litecommands-bukkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Maven
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>bukkit</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>
```
Gradle
```groovy
implementation 'dev.rollczi.litecommands:bukkit:2.4.1'
implementation 'dev.rollczi.litecommands:bukkit:2.4.2'
```

#### Examples:
Expand Down
4 changes: 2 additions & 2 deletions litecommands-bungee/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Maven
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>bungee</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>
```
Gradle
```groovy
implementation 'dev.rollczi.litecommands:bungee:2.4.1'
implementation 'dev.rollczi.litecommands:bungee:2.4.2'
```

#### Examples:
Expand Down
4 changes: 2 additions & 2 deletions litecommands-velocity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Maven
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>velocity</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>
```
Gradle
```groovy
implementation 'dev.rollczi.litecommands:velocity:2.4.1'
implementation 'dev.rollczi.litecommands:velocity:2.4.2'
```

#### Examples:
Expand Down

0 comments on commit d2e67fe

Please sign in to comment.