Add H2 database support, use indexes to optimize queries, add maria-specific schema, bump adventure-fabric (#465)

* Add support for H2, bundle Maria driver, bump fabric adventure

* Bundle and download H2 drivers

* Fixup H2 schema, add indexes to DBs, add maria-specific schema

* docs: Add database type documentation

* Check plugin isn't disabled before task schedule, close #463

* Bump Annotaml to 2.0.4

* docs: Mention Maria in README and Setup
This commit is contained in:
William authored and GitHub committed 2023-07-18 15:03:31 +01:00
1 parent 8d2424a7ef
commit beed438c16
28 files changed
+1443 -50

No files matched your search

+6 -4
View File
@@ -11,7 +11,7 @@ dependencies {
api 'org.apache.commons:commons-text:1.10.0'
api 'de.themoep:minedown-adventure:1.7.2-SNAPSHOT'
api 'com.google.code.gson:gson:2.10.1'
api 'net.william278:Annotaml:2.0.1'
api 'net.william278:annotaml:2.0.4'
api 'net.william278:PagineDown:1.1'
api 'net.william278:DesertWell:2.0.4'
api 'dev.dejvokep:boosted-yaml:1.3.1'
@@ -20,9 +20,11 @@ dependencies {
exclude module: 'slf4j-api'
}
compileOnly 'redis.clients:jedis:' + jedis_version
compileOnly 'org.xerial:sqlite-jdbc:' + sqlite_driver_version
compileOnly 'com.mysql:mysql-connector-j:' + mysql_driver_version
compileOnly "redis.clients:jedis:$jedis_version"
compileOnly "org.xerial:sqlite-jdbc:$sqlite_driver_version"
compileOnly "com.mysql:mysql-connector-j:$mysql_driver_version"
compileOnly "org.mariadb.jdbc:mariadb-java-client:$mariadb_driver_version"
compileOnly "com.h2database:h2:$h2_driver_version"
compileOnly 'org.jetbrains:annotations:24.0.1'
compileOnly 'com.google.guava:guava:32.1.1-jre'