You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

build.gradle
apply plugin: "maven-publish"
publishing {
  publications {
    maven(MavenPublication) {
       artifact("test-text.tar.gz") {
         extension "tar.gz"
       }
      groupId 'info.liutyi'
      artifactId 'test-text'
      version '1.0'
    }
  }
  repositories {
     maven {
      credentials {
      username 'user'
      password 'password'
     }
     url "https://artifactory.project.example.com/artifactory/libs-release-local"
    }
  }
}
gradle publish
  • No labels