diff --git a/.gitignore b/.gitignore index a6638d5..8543885 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +.env +.idea +gradle/ + .gradle build/ !gradle/wrapper/gradle-wrapper.jar @@ -41,4 +45,4 @@ bin/ ### Mac OS ### .DS_Store -kls_database.db \ No newline at end of file +kls_database.db diff --git a/build.gradle.kts b/build.gradle.kts index 64e6740..5758fc4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,6 +2,7 @@ plugins { kotlin("jvm") version "1.9.21" application `maven-publish` + id("co.uzzu.dotenv.gradle") version "4.0.0" } group = "me.alex_s168" @@ -30,6 +31,17 @@ application { } publishing { + repositories { + maven { + url = uri("http://198.7.115.119:8080/libs") + isAllowInsecureProtocol = true + credentials { + username = env.USER.orNull() + password = env.PASS.orNull() + } + } + } + publications { create("maven") { groupId = group.toString() @@ -39,4 +51,4 @@ publishing { from(components["kotlin"]) } } -} \ No newline at end of file +}