Skip to content

Commit

Permalink
Update to V3
Browse files Browse the repository at this point in the history
  • Loading branch information
HoshiKurama committed Apr 24, 2021
1 parent 8d75368 commit 87e5a57
Show file tree
Hide file tree
Showing 13 changed files with 1,140 additions and 498 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
apply plugin: 'application'

group = 'engineer.hoshikurama.github'
version = '2.1.1'
version = '3.0.0'
mainClassName = "engineer.hoshikurama.github.ticketmanager.TicketManager"

sourceCompatibility = '11'
Expand All @@ -36,16 +36,19 @@ dependencies {
compile "com.zaxxer:HikariCP:4.0.3"
compile "mysql:mysql-connector-java:8.0.22"
compile "com.google.guava:guava:30.1-jre"
compile 'org.xerial:sqlite-jdbc:3.34.0'
}

shadowJar {
dependencies {
include dependency('com.zaxxer:HikariCP:4.0.3')
include dependency('mysql:mysql-connector-java:8.0.22')
include dependency('org.xerial:sqlite-jdbc:3.34.0')
}

relocate 'com.zaxxer.hikari','shadow.TicketManager.zaxxerHikari'
relocate 'com.mysql', 'shadow.TicketManager.jdbcDrivers'
relocate 'com.zaxxer.hikari','engineer.hoshikurama.github.ticketmanager.shaded.zaxxerHikari'
relocate 'com.mysql', 'engineer.hoshikurama.github.ticketmanager.shaded.mysqlDrivers'
relocate 'org.xerial', 'engineer.hoshikurama.github.ticketmanager.shaded.sqliteDrivers'
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package engineer.hoshikurama.github.ticketmanager.v2;

public class DatabaseException extends Exception {
public DatabaseException(String message, Throwable cause) {
super(message, cause);
}
}

This file was deleted.

This file was deleted.

Loading

0 comments on commit 87e5a57

Please sign in to comment.