Merge branch 'master' of https://git.nevets.tech/Steven/ModBot
This commit is contained in:
commit
06b893c7ee
72
README.md
Normal file
72
README.md
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# ModBot
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
<details><summary>Gradle</summary>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
> ##### Groovy DSL
|
||||||
|
|
||||||
|
First, add the repository
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url 'https://repo.nevets.tech/repository/maven-public/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Then, add the ModBot dependency:
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
dependencies {
|
||||||
|
compileOnly "tech.nevets:ModBot:0.1.0-beta"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
> #### Kotlin DSL
|
||||||
|
|
||||||
|
First, add the repository
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
repositories {
|
||||||
|
maven("https://repo.nevets.tech/repository/maven-public/")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, add the ModBot dependency:
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
dependencies {
|
||||||
|
compileOnly("tech.nevets:ModBot:0.1.0-beta")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Maven</summary>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
First, add the repository
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>nevets-tech-repo</id>
|
||||||
|
<url>https://repo.nevets.tech/repository/maven-public/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
```
|
||||||
|
|
||||||
|
And then add the ModBot dependency:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>tech.nevets</groupId>
|
||||||
|
<artifactId>ModBot</artifactId>
|
||||||
|
<version>0.1.0-beta</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</details>
|
@ -8,7 +8,7 @@ plugins {
|
|||||||
mainClassName = 'tech.nevets.modbot.CoreBot'
|
mainClassName = 'tech.nevets.modbot.CoreBot'
|
||||||
|
|
||||||
group 'tech.nevets'
|
group 'tech.nevets'
|
||||||
version '0.1.0'
|
version '0.1.0-beta'
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
rootProject.name = 'ModularBot'
|
rootProject.name = 'ModBot'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user