Publish 1.2.2

This commit is contained in:
Zontreck 2022-10-04 00:05:37 -07:00
parent b1be450dfd
commit 3275bd4e8c
16 changed files with 693 additions and 23 deletions

View file

@ -2,11 +2,12 @@ plugins {
id 'eclipse'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '5.1.+'
id 'java-library'
}
version = '1.2.1'
version = '1.2.2'
group = 'dev.zontreck.otemod' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'otemod'
@ -101,6 +102,7 @@ repositories {
// flatDir {
// dir 'libs'
// }
mavenCentral()
maven {
// location of the maven that hosts JEI files
@ -112,6 +114,10 @@ repositories {
name = "ModMaven"
url = "https://modmaven.dev"
}
maven {
name = "CurseMaven"
url = "https://cursemaven.com"
}
}
dependencies {
@ -134,10 +140,14 @@ dependencies {
// Examples using mod jars from ./libs
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
api 'org.apache.commons:commons-math3:3.6.1'
implementation 'com.google.guava:guava:22.0'
implementation 'org.mariadb.jdbc:mariadb-java-client:3.0.8'
compileOnly 'org.mariadb.jdbc:mariadb-java-client'
// For more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
api 'curse.maven:mariadb-jdbc-561883:3586357'
}
// Example for how to get properties into the manifest for reading at runtime.
@ -146,7 +156,7 @@ jar {
attributes([
"Specification-Title" : "otemod",
"Specification-Vendor" : "Zontreck",
"Specification-Version" : "1.2.1", // We are version 1 of ourselves
"Specification-Version" : "1.2.2", // We are version 1 of ourselves
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : "Zontreck",