diff --git a/gradle/upload-archives.gradle b/gradle/upload-archives.gradle new file mode 100644 index 0000000..a67e343 --- /dev/null +++ b/gradle/upload-archives.gradle @@ -0,0 +1,14 @@ +apply from: file('../gradle/gradle-mvn-push.gradle') + +task uploadArchivesLocal(type: Upload) { + description "Installs the artifacts to the local Maven repository." + configuration = configurations['archives'] + repositories { + mavenDeployer { + pom.groupId = GROUP + pom.artifactId = POM_ARTIFACT_ID + pom.version = VERSION_NAME + repository url: "file://${System.properties['user.home']}/.m2/repository" + } + } +} diff --git a/torque-core/build.gradle b/torque-core/build.gradle index 042f5ed..0415900 100755 --- a/torque-core/build.gradle +++ b/torque-core/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'kotlin' apply plugin: 'org.junit.platform.gradle.plugin' -apply from: file('../gradle/gradle-mvn-push.gradle') +apply from: file('../gradle/upload-archives.gradle') dependencies { implementation libraries.kotlinStd