Skip to content

Commit

Permalink
Release 1.0.0 and first publish to panda repository ❤️
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi committed Nov 14, 2021
1 parent b2e3f2b commit 21b5591
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 15 deletions.
38 changes: 24 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,27 @@ Helpful links:
- [Support Discord](https://discord.gg/6cUhkj6uZJ)
- [GitHub issues](https://github.com/Rollczi/LiteCommands/issues)

### Dependencies (Maven or Gradle)
Framework Core
### Panda Repository (Maven or Gradle) ❤️
```xml
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>core</artifactId>
<version>1.0</version>
</dependency>
<repository>
<id>panda-repository</id>
<url>https://repo.panda-lang.org/releases</url>
</repository>
```
```gradle
implementation 'dev.rollczi.litecommands:core:1.0'
```groovy
maven { url "https://repo.panda-lang.org/releases" }
```

Velocity Extension
### Dependencies (Maven or Gradle)
Framework Core
```xml
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>velocity</artifactId>
<artifactId>core.0</artifactId>
<version>1.0</version>
</dependency>
```
```gradle
implementation 'dev.rollczi.litecommands:velocity:1.0'
```groovy
implementation 'dev.rollczi.litecommands:core:1.0.0'
```

### First Simple Command
Expand All @@ -50,6 +48,18 @@ this.liteCommands = VelocityFactory.builder(proxy)
.command(HelloWorldCommand.class)
.register();
```
### Velocity Extension Dependencies (Maven or Gradle)
Add this to your dependencies if you want use ready-made implementation for velocity.
```xml
<dependency>
<groupId>dev.rollczi.litecommands</groupId>
<artifactId>velocity</artifactId>
<version>1.0.0</version>
</dependency>
```
```groovy
implementation 'dev.rollczi.litecommands:velocity:1.0.0'
```

#### Other examples:
- [Velocity Example](https://github.com/Rollczi/LiteCommands/wiki/Velocity-Example-(simple))
Expand Down
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {

allprojects {
group = 'dev.rollczi.litecommands'
version = '1.0'
version = '1.0.0'

apply plugin: 'java-library'
apply plugin: 'maven-publish'
Expand All @@ -39,6 +39,15 @@ subprojects {
publishing {
repositories {
mavenLocal()
maven {
name = "panda-repository"
url = uri("https://repo.panda-lang.org/releases")

credentials {
username = "$panda_user_litecommands"
password = "$panda_pass_litecommands"
}
}
}
}
}
Expand Down

0 comments on commit 21b5591

Please sign in to comment.