diff --git a/build.gradle b/build.gradle index 128dc3f..a1eb4bc 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.7-SNAPSHOT' + id 'fabric-loom' version '0.10-SNAPSHOT' } sourceCompatibility = JavaVersion.VERSION_1_8 @@ -24,12 +24,11 @@ dependencies { modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" //include group: 'org.postgresql', name: 'postgresql', version: '42.2.9' // https://mvnrepository.com/artifact/mysql/mysql-connector-java - //implementation(include('mysql:mysql-connector-java:8.0.25')) - include group: 'mysql', name: 'mysql-connector-java', version: '8.0.25' - implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.25' + include group: 'mysql', name: 'mysql-connector-java', version: "${project.jdbc_mysql}" + implementation group: 'mysql', name: 'mysql-connector-java', version: "${project.jdbc_mysql}" //modImplementation(group: 'mysql', name: 'mysql-connector-java', version: '8.0.25') - include group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' - implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' + include group: 'com.googlecode.json-simple', name: 'json-simple', version: "${project.json_simple}" + implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: "${project.json_simple}" // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" diff --git a/gradle.properties b/gradle.properties index e223165..9983820 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,14 +4,19 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/versions.html minecraft_version=1.16.5 - yarn_mappings=1.16.5+build.9 - loader_version=0.11.3 - + yarn_mappings=1.16.5+build.10 + loader_version=0.12.11 # Mod Properties - mod_version = 1.1.1 + mod_version = 1.1.3 maven_group = net.saltymc.eaa archives_base_name = EAA_MOD # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api (or https://fabricmc.net/versions.html) - fabric_version=0.34.2+1.16 \ No newline at end of file + fabric_version=0.42.0+1.16 + +#SQL +jdbc_mysql=8.0.27 + +#JSON +json_simple=1.1.1 \ No newline at end of file