Sha256: 71f8131496a59dceedc030d658c32457720a12288926207fd09bb0050e3540b6

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'git-repo'

/**
 GIT_REPO_HOME
 * 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"
 */

buildscript {
    repositories {
        maven { url "https://github.com/layerhq/releases-gradle/raw/master/releases" }
    }
    dependencies {
        classpath group: 'com.layer', name: 'git-repo-plugin', version: '1.0.0'
    }
}

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 {
            url "file://${property("gitRepoHome")}/${property("org")}/${property("repo")}/releases"
        }
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
migration_bundler-1.4.0 lib/migration_bundler/targets/maven_git/project/build.gradle