Sha256: a43f83d96f6ba3b1a7997119227b3c10791a0ff52a7c552bc2ed91a838470883
Contents?: true
Size: 1.36 KB
Versions: 2
Compression:
Stored size: 1.36 KB
Contents
apply plugin: 'java' apply plugin: 'maven' apply plugin: 'maven-publish' /** * Specify: * -Pversion=[VERSION] * -Purl=[MAVEN URL TO PUBLISH TO] e.g. "http://nexus.dev.layer.com:8081/nexus/content/repositories/releases" or "${System.env.HOME}/.m2/repository" * -Pusername=[USERNAME FOR MAVEN PUBLISH] * -Ppassword=[PASSWORD FOR MAVEN PUBLISH] */ ext { mavenUrl = rootProject.hasProperty("url") ? rootProject.property("url") : "${System.env.HOME}/.m2/repository" mavenUsername = rootProject.hasProperty("username") ? rootProject.property("username") : null; mavenPassword = rootProject.hasProperty("password") ? rootProject.property("password") : null; } compileJava { sourceCompatibility = 1.6 targetCompatibility = 1.6 } repositories { mavenCentral() } /************************************************* * Uploading ************************************************/ task Jar(type: Jar) { jar.archiveName = "MigrationBundler-" + version + ".jar" } publishing { publications { mavenJava(MavenPublication) { groupId "com.layer" artifactId "MigrationBundler" from components.java } } repositories { maven { credentials { username = mavenUsername; password = mavenPassword; } url = mavenUrl; } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
migration_bundler-1.3.1 | lib/migration_bundler/targets/maven/project/build.gradle |
migration_bundler-1.3.0 | lib/migration_bundler/targets/maven/project/build.gradle |