Skip to content

Commit f2a1bd9

Browse files
committed
New release
1 parent b7aa32a commit f2a1bd9

File tree

7 files changed

+49
-110
lines changed

7 files changed

+49
-110
lines changed

.github/workflows/release_actions.yml renamed to .github/workflows/generate_javadoc.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,6 @@ jobs:
2626
github_token: ${{ secrets.GITHUB_TOKEN }}
2727
publish_dir: ./docs
2828
commit_message: "Update Docs (${GITHUB_SHA:0:7})"
29-
publish:
30-
needs: [generateJavadoc]
31-
if: success()
32-
runs-on: ubuntu-latest
33-
steps:
34-
- name: Checkout Code
35-
uses: actions/[email protected]
36-
- name: Set up Java 8
37-
uses: actions/setup-java@v1
38-
with:
39-
java-version: 1.8
40-
- name: Publish (Bintray)
41-
id: publish_bintray
42-
env:
43-
BintrayUser: ${{ secrets.bintrayUsername }}
44-
BintrayApiKey: ${{ secrets.bintrayApiKey }}
45-
VcsTag: ${{ github.event.release.tag_name }}
46-
run: ./gradlew bintrayUpload
47-
#- name: Publish (GitHub Packages)
48-
# env:
49-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
# run: ./gradlew publish
51-
- name: Zip files
52-
working-directory: ./build/libs
53-
run: zip JavaBotBlockAPI-${{ github.event.release.tag_name }}.zip *.jar
54-
- name: Upload to release
55-
uses: AButler/[email protected]
56-
with:
57-
files: 'build/libs/JavaBotBlockAPI-${{ github.event.release.tag_name }}.zip;build/libs/*.jar'
58-
repo-token: ${{ secrets.GITHUB_TOKEN }}
5929
sendMessage:
6030
needs: [publish]
6131
if: success()

README.md

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[CodeMCBadge]: https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.codemc.io%2Fjob%2Fbotblock%2Fjob%2FJavaBotBlockAPI%2F&label=Dev%20Builds&style=plastic
1010
[CodeMC]: https://ci.codemc.io/job/botblock/job/JavaBotBlockAPI/
1111

12-
[BadgeDownload]: https://img.shields.io/bintray/v/andre601/maven/JavaBotBlockAPI?label=Bintray&style=plastic
12+
[DownloadBadge]: https://img.shields.io/nexus/maven-public/org.botblock/javabotblockapi-core?label=Release&server=https%3A%2F%2Frepo.codemc.io&style=plastic
1313
[Download]: https://bintray.com/andre601/maven/JavaBotBlockAPI/_latestVersion
1414

1515
[JDA]: https://github.com/DV8FromTheWorld/JDA
@@ -31,28 +31,17 @@ JavaBotBlockAPI is a continued and updated Java Wrapper for [BotBlock], a websit
3131
This wrapper is a fork of [BotBlock4J] and was updated and improved to make it as userfriendly as possible.
3232

3333
# Installation
34-
[![BadgeDownload]][Download]
35-
[![CodeMCBadge]][CodeMC]
34+
[![DownloadBadge]][Download] [![CodeMCBadge]][CodeMC]
3635

3736
You can install JavaBotBlockAPI through the following methods.
3837
Make sure to replace `{version}` with the above shown version.
3938

4039
## Gradle
41-
Put this code into your `build.gradle` to download all modules:
42-
```groovy
43-
repositories{
44-
maven{ url = 'https://dl.bintray.com/andre601/maven' }
45-
}
46-
47-
dependencies{
48-
compile group: 'org.botblock', name: 'javabotblockapi', version: '{version}'
49-
}
50-
```
40+
To download the different modules will you need to add the following snippets to your `build.gradle`:
5141

52-
if you want to only download specific modules can you just use `javabotblockapi-<module>`:
5342
```groovy
5443
repositories{
55-
maven{ url = 'https://dl.bintray.com/andre601/maven' }
44+
maven{ url = 'https://repo.codemc.io/repository/maven-public' }
5645
}
5746
5847
dependencies{
@@ -71,30 +60,13 @@ dependencies{
7160
```
7261

7362
## Maven
74-
For maven use this code snippet to download all modules:
75-
```xml
76-
<repositories>
77-
<repository>
78-
<id>jcenter</id>
79-
<url>https://dl.bintray.com/andre601/maven</url>
80-
</repository>
81-
</repositories>
82-
83-
<dependencies>
84-
<dependency>
85-
<groupId>org.botblock</groupId>
86-
<artifactId>javabotblockapi</artifactId>
87-
<version>{version}</version>
88-
</dependency>
89-
</dependencies>
90-
```
63+
To download the different modules will you need to add the following snippets to your `pom.xml`:
9164

92-
if you want to only download specific modules can you just use `javabotblockapi-<module>`:
9365
```xml
9466
<repositories>
9567
<repository>
96-
<id>jcenter</id>
97-
<url>https://dl.bintray.com/andre601/maven</url>
68+
<id>codemc</id>
69+
<url>https://repo.codemc.io/repository/maven-public</url>
9870
</repository>
9971
</repositories>
10072

@@ -130,7 +102,7 @@ if you want to only download specific modules can you just use `javabotblockapi-
130102
```
131103

132104
# Usage Examples
133-
Below can you find a few examples on how JavaBotBlockAPI can/should be used.
105+
Below will you find a few examples on how JavaBotBlockAPI can/should be used.
134106
Please make sure to also take a look at the [Javadoc] for any additional information.
135107

136108
## BotBlockAPI

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins{
77
id 'com.github.johnrengelman.shadow' version '5.2.0'
88
}
99

10-
def ver = new Version(major: 6, minor: 4, patch: 2)
10+
def ver = new Version(major: 6, minor: 5, patch: 0)
1111

1212
allprojects {
1313
apply plugin: 'maven-publish'

core/src/main/java/org/botblock/javabotblockapi/core/package-info.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
*
2828
* <pre><code>
2929
* repositories{
30-
* maven{ url = 'https://dl.bintray.com/andre601/maven' }
30+
* maven{ url = 'https://repo.codemc.io/repository/maven-public' }
3131
* }
3232
*
3333
* dependencies{
34-
* compile 'org.botblock:JavaBotBlockAPI-core:API_VERSION'
34+
* compile group: 'org.botblock', name: 'javabotblockapi-core', version: API_VERSION
3535
* }
3636
* </code></pre>
3737
*
@@ -40,16 +40,16 @@
4040
* <pre><code>{@literal
4141
* <repositories>
4242
* <repository>
43-
* <id>jcenter</id>
44-
* <name>jcenter-bintray</name>
45-
* <url>https://dl.bintray.com/andre601/maven</url>
43+
* <id>codemc</id>
44+
* <name>CodeMC-Nexus</name>
45+
* <url>https://repo.codemc.io/repository/maven-public</url>
4646
* </repository>
4747
* </repositories>
4848
*
4949
* <dependencies>
5050
* <dependency>
5151
* <groupId>org.botblock</groupId>
52-
* <artifactId>JavaBotBlockAPI-core</artifactId>
52+
* <artifactId>javabotblockapi-core</artifactId>
5353
* <version>API_VERSION</version>
5454
* </dependency>
5555
* </dependencies>
@@ -59,9 +59,8 @@
5959
* We do not recommend using jar files directly and instead use one of the above dependency management systems.
6060
*
6161
* <p>If you still want to do it manually, or can't use one of the other option, head over to the
62-
* <a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> or to
63-
* the <a target="_blank" href="https://bintray.com/beta/#/andre601/maven/JavaBotBlockAPI?tab=overview">Bintray release page</a>
64-
* and download the jar files from there.
62+
* <a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> and
63+
* download the jar files from there.
6564
*
6665
* <p>Note that you will not receive any support when using this method.
6766
*/

javacord/src/main/java/org/botblock/javabotblockapi/javacord/package-info.java

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
*
2828
* <pre><code>
2929
* repositories{
30-
* maven{ url = 'https://dl.bintray.com/andre601/maven' }
30+
* maven{ url = 'https://repo.codemc.io/repository/maven-public' }
3131
* }
3232
*
3333
* dependencies{
3434
* // Those two are required
35-
* compile 'org.botblock:JavaBotBlockAPI-core:API_VERSION'
36-
* compile 'org.botblock:JavaBotBlockAPI-request:API_VERSION'
35+
* compile group: 'org.botblock', name: 'javabotblockapi-core', version: 'API_VERSION'
36+
* compile group: 'org.botblock', name: 'javabotblockapi-request', version: 'API_VERSION'
3737
*
38-
* compile 'org.botblock:JavaBotBlockAPI-javacord:API_VERSION'
38+
* compile group: 'org.botblock', name: 'javabotblockapi-javacord', version: 'API_VERSION'
3939
* }
4040
* </code></pre>
4141
*
@@ -44,28 +44,28 @@
4444
* <pre><code>{@literal
4545
* <repositories>
4646
* <repository>
47-
* <id>jcenter</id>
48-
* <name>jcenter-bintray</name>
49-
* <url>https://dl.bintray.com/andre601/maven</url>
47+
* <id>codemc</id>
48+
* <name>CodeMC-Nexus</name>
49+
* <url>https://repo.codemc.io/repository/maven-public</url>
5050
* </repository>
5151
* </repositories>
5252
*
5353
* <dependencies>
5454
* <!-- Those two are required -->
5555
* <dependency>
5656
* <groupId>org.botblock</groupId>
57-
* <artifactId>JavaBotBlockAPI-core</artifactId>
57+
* <artifactId>javabotblockapi-core</artifactId>
5858
* <version>API_VERSION</version>
5959
* </dependency>
6060
* <dependency>
6161
* <groupId>org.botblock</groupId>
62-
* <artifactId>JavaBotBlockAPI-request</artifactId>
62+
* <artifactId>javabotblockapi-request</artifactId>
6363
* <version>API_VERSION</version>
6464
* </dependency>
6565
*
6666
* <dependency>
6767
* <groupId>org.botblock</groupId>
68-
* <artifactId>JavaBotBlockAPI-javacord</artifactId>
68+
* <artifactId>javabotblockapi-javacord</artifactId>
6969
* <version>API_VERSION</version>
7070
* </dependency>
7171
* </dependencies>
@@ -75,9 +75,8 @@
7575
* We do not recommend using jar files directly and instead use one of the above dependency management systems.
7676
*
7777
* <p>If you still want to do it manually, or can't use one of the other option, head over to the
78-
* <a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> or to
79-
* the <a target="_blank" href="https://bintray.com/beta/#/andre601/maven/JavaBotBlockAPI?tab=overview">Bintray release page</a>
80-
* and download the jar files from there.
78+
* <a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> and
79+
* download the jar files from there.
8180
*
8281
* <p>Note that you will not receive any support when using this method.
8382
*/

jda/src/main/java/org/botblock/javabotblockapi/jda/package-info.java

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
*
2929
* <pre><code>
3030
* repositories{
31-
* maven{ url = 'https://dl.bintray.com/andre601/maven' }
31+
* maven{ url = 'https://repo.codemc.io/repository/maven-public' }
3232
* }
3333
*
3434
* dependencies{
3535
* // Those two are required
36-
* compile 'org.botblock:JavaBotBlockAPI-core:API_VERSION'
37-
* compile 'org.botblock.JavaBotBlockAPI-request:API_VERSION'
36+
* compile group: 'org.botblock', name: 'javabotblockapi-core', version: 'API_VERSION'
37+
* compile group: 'org.botblock', name: 'javabotblockapi-request', version: 'API_VERSION'
3838
*
39-
* compile 'org.botblock:JavaBotBlockAPI-jda:API_VERSION'
39+
* compile group: 'org.botblock', name: 'javabotblockapi-jda', version: 'API_VERSION'
4040
* }
4141
* </code></pre>
4242
*
@@ -45,28 +45,28 @@
4545
* <pre><code>{@literal
4646
* <repositories>
4747
* <repository>
48-
* <id>jcenter</id>
49-
* <name>jcenter-bintray</name>
50-
* <url>https://dl.bintray.com/andre601/maven</url>
48+
* <id>codemc</id>
49+
* <name>CodeMC-Nexus</name>
50+
* <url>https://repo.codemc.io/repository/maven-public</url>
5151
* </repository>
5252
* </repositories>
5353
*
5454
* <dependencies>
5555
* <!-- Those two are required -->
5656
* <dependency>
5757
* <groupId>org.botblock</groupId>
58-
* <artifactId>JavaBotBlockAPI-core</artifactId>
58+
* <artifactId>javabotblockapi-core</artifactId>
5959
* <version>API_VERSION</version>
6060
* </dependency>
6161
* <dependency>
6262
* <groupId>org.botblock</groupId>
63-
* <artifactId>JavaBotBlockAPI-request</artifactId>
63+
* <artifactId>javabotblockapi-request</artifactId>
6464
* <version>API_VERSION</version>
6565
* </dependency>
6666
*
6767
* <dependency>
6868
* <groupId>org.botblock</groupId>
69-
* <artifactId>JavaBotBlockAPI-jda</artifactId>
69+
* <artifactId>javabotblockapi-jda</artifactId>
7070
* <version>API_VERSION</version>
7171
* </dependency>
7272
* </dependencies>
@@ -76,9 +76,8 @@
7676
* We do not recommend using jar files directly and instead use one of the above dependency management systems.
7777
*
7878
* <p>If you still want to do it manually, or can't use one of the other option, head over to the
79-
* <a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> or to
80-
* the <a target="_blank" href="https://bintray.com/beta/#/andre601/maven/JavaBotBlockAPI?tab=overview">Bintray release page</a>
81-
* and download the jar files from there.
79+
* <a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> and
80+
* download the jar files from there.
8281
*
8382
* <p>Note that you will not receive any support when using this method.
8483
*/

request/src/main/java/org/botblock/javabotblockapi/requests/package-info.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
*
2828
* <pre><code>
2929
* repositories{
30-
* maven{ url = 'https://dl.bintray.com/andre601/maven' }
30+
* maven{ url = 'https://repo.codemc.io/repository/maven-public' }
3131
* }
3232
*
3333
* dependencies{
34-
* compile 'org.botblock:JavaBotBlockAPI-core:API_VERSION'
35-
* compile 'org.botblock:JavaBotBlockAPI-request:API_VERSION
34+
* compile group: 'org.botblock', name: 'javabotblockapi-core', version: 'API_VERSION'
35+
* compile group: 'org.botblock', name: 'javabotblockapi-request', version: 'API_VERSION'
3636
* }
3737
* </code></pre>
3838
*
@@ -41,21 +41,21 @@
4141
* <pre><code>{@literal
4242
* <repositories>
4343
* <repository>
44-
* <id>jcenter</id>
45-
* <name>jcenter-bintray</name>
46-
* <url>https://dl.bintray.com/andre601/maven</url>
44+
* <id>codemc</id>
45+
* <name>CodeMC-Nexus</name>
46+
* <url>https://repo.codemc.io/repository/maven-public</url>
4747
* </repository>
4848
* </repositories>
4949
*
5050
* <dependencies>
5151
* <dependency>
5252
* <groupId>org.botblock</groupId>
53-
* <artifactId>JavaBotBlockAPI-core</artifactId>
53+
* <artifactId>javabotblockapi-core</artifactId>
5454
* <version>API_VERSION</version>
5555
* </dependency>
5656
* <dependency>
5757
* <groupId>org.botblock</groupId>
58-
* <artifactId>JavaBotBlockAPI-request</artifactId>
58+
* <artifactId>javabotblockapi-request</artifactId>
5959
* <version>API_VERSION</version>
6060
* </dependency>
6161
* </dependencies>

0 commit comments

Comments
 (0)