Skip to content

Commit 04c13c2

Browse files
committed
Update library versions and prepare for maven repo.
1 parent d17ce3e commit 04c13c2

File tree

3 files changed

+36
-33
lines changed

3 files changed

+36
-33
lines changed

pom.xml

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,75 @@
77
<artifactId>DbLib</artifactId>
88
<version>1.0-SNAPSHOT</version>
99

10+
<properties>
11+
<maven.compiler.source>1.8</maven.compiler.source>
12+
<maven.compiler.target>1.8</maven.compiler.target>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<maven.build.timestamp.format>HHmm-ddMMyyyy</maven.build.timestamp.format>
15+
</properties>
16+
1017
<repositories>
1118
<repository>
12-
<id>nukkit-ru</id>
13-
<url>http://repo.nukkit.ru</url>
19+
<id>nukkitx-repo</id>
20+
<url>http://repo.nukkitx.com/snapshot</url>
1421
</repository>
1522
</repositories>
1623

24+
<distributionManagement>
25+
<repository>
26+
<id>releases</id>
27+
<name>nukkitx-releases</name>
28+
<url>https://repo.nukkitx.com/release</url>
29+
</repository>
30+
<snapshotRepository>
31+
<id>snapshots</id>
32+
<name>nukkitx-snapshots</name>
33+
<url>https://repo.nukkitx.com/snapshot</url>
34+
</snapshotRepository>
35+
</distributionManagement>
36+
1737
<dependencies>
1838
<dependency>
1939
<groupId>cn.nukkit</groupId>
2040
<artifactId>nukkit</artifactId>
2141
<version>1.0-SNAPSHOT</version>
42+
<scope>provided</scope>
2243
</dependency>
2344
<dependency>
2445
<groupId>mysql</groupId>
2546
<artifactId>mysql-connector-java</artifactId>
26-
<version>5.1.43</version>
47+
<version>8.0.13</version>
48+
<scope>compile</scope>
2749
</dependency>
2850
<dependency>
2951
<groupId>org.xerial</groupId>
3052
<artifactId>sqlite-jdbc</artifactId>
31-
<version>3.8.11.2</version>
53+
<version>3.25.2</version>
54+
<scope>compile</scope>
3255
</dependency>
3356
<dependency>
3457
<groupId>com.j256.ormlite</groupId>
3558
<artifactId>ormlite-core</artifactId>
36-
<version>5.0</version>
59+
<version>5.1</version>
60+
<scope>compile</scope>
3761
</dependency>
3862
<dependency>
3963
<groupId>com.j256.ormlite</groupId>
4064
<artifactId>ormlite-jdbc</artifactId>
41-
<version>5.0</version>
65+
<version>5.1</version>
66+
<scope>compile</scope>
4267
</dependency>
4368
<dependency>
4469
<groupId>org.sql2o</groupId>
4570
<artifactId>sql2o</artifactId>
46-
<version>1.5.4</version>
71+
<version>1.6.0</version>
72+
<scope>compile</scope>
4773
</dependency>
4874
</dependencies>
4975

5076

5177
<build>
5278
<plugins>
53-
<plugin>
54-
<groupId>org.apache.maven.plugins</groupId>
55-
<artifactId>maven-compiler-plugin</artifactId>
56-
<version>2.3.2</version>
57-
<configuration>
58-
<source>1.8</source>
59-
<target>1.8</target>
60-
</configuration>
61-
</plugin>
6279
<plugin>
6380
<groupId>org.apache.maven.plugins</groupId>
6481
<artifactId>maven-shade-plugin</artifactId>
@@ -69,20 +86,6 @@
6986
<goals>
7087
<goal>shade</goal>
7188
</goals>
72-
<configuration>
73-
<artifactSet>
74-
<includes>
75-
<include>org.sql2o:sql2o</include>
76-
<include>org.xerial:sqlite-jdbc</include>
77-
<include>com.j256.ormlite:ormlite-core</include>
78-
<include>com.j256.ormlite:ormlite-jdbc</include>
79-
<include>mysql:mysql-connector-java</include>
80-
</includes>
81-
<excludes>
82-
<exclude>cn.nukkit:nukkit</exclude>
83-
</excludes>
84-
</artifactSet>
85-
</configuration>
8689
</execution>
8790
</executions>
8891
</plugin>

src/main/resources/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DbLib plugin for Nukiit and Voxelwind (universal jar)
1+
# DbLib plugin for Nukkit
22
# https://nukkitx.com/resources/dblib.12/
33
#
44
general:

src/main/resources/plugin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: DbLib
22
main: ru.nukkit.dblib.nukkit.DbLibPlugin
3-
version: "0.2.4"
3+
version: "0.2.5"
44
author: fromgate, nukkit.ru
5-
api: ["1.0.0"]
5+
api: ["1.0.7"]
66
description: SQLite/MySQL library for your plugins (Nukkit)

0 commit comments

Comments
 (0)