diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..e69de29 diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..9ff8d72 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,4 @@ +jdk: + - openjdk17 +install: + - ./gradlew publishToMavenLocal \ No newline at end of file diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index ec2075b..aa23899 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -10,6 +10,7 @@ plugins { // Apply the java-library plugin for API and implementation separation. `java-library` + `maven-publish` } repositories { @@ -30,3 +31,10 @@ dependencies { implementation("mysql:mysql-connector-java:8.0.33") } +publishing { + publications { + create("maven") { + from(components["java"]) + } + } +} \ No newline at end of file