-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Revert "TonY release pipeline (#19)" This reverts commit f980fb7. * TonY release pipeline v2 * Concurrent jobs in same azkaban execution should not overwrite each others tony.xml * Version bump to 0.1.3
- Loading branch information
Showing
11 changed files
with
102 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
group "com.linkedin" | ||
apply plugin: "java" | ||
apply plugin: "eclipse" | ||
apply plugin: "idea" | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
|
@@ -11,17 +14,9 @@ buildscript { | |
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.4" | ||
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.1" | ||
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0" | ||
classpath "org.shipkit:shipkit:2.0.13" | ||
} | ||
} | ||
|
||
apply plugin: "java" | ||
apply plugin: "eclipse" | ||
apply plugin: "idea" | ||
apply plugin: "org.shipkit.java" | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
def hadoopVersion = "3.1.1" | ||
|
||
ext.deps = [ | ||
|
@@ -66,6 +61,17 @@ ext.deps = [ | |
|
||
allprojects { | ||
group = "com.linkedin.tony" | ||
project.version = "0.1.3" | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
from sourceSets.main.allJava | ||
classifier = 'sources' | ||
} | ||
|
||
task javadocJar(type: Jar) { | ||
from javadoc | ||
classifier = 'javadoc' | ||
} | ||
|
||
subprojects { | ||
|
@@ -74,14 +80,16 @@ subprojects { | |
apply plugin: "java" | ||
apply plugin: "eclipse" | ||
apply plugin: "idea" | ||
|
||
apply plugin: "maven" | ||
apply plugin: "maven-publish" | ||
apply plugin: "signing" | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
plugins.withType(JavaPlugin) { | ||
sourceCompatibility = 1.8 | ||
dependencies { | ||
// dependency defined in product_spec.json | ||
testCompile deps.external.testng | ||
} | ||
|
||
|
@@ -103,8 +111,63 @@ subprojects { | |
exclude group: "org.apache.hadoop" | ||
} | ||
} | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
from components.java | ||
artifactId = "${project.name}" | ||
artifact sourcesJar | ||
artifact javadocJar | ||
pom { | ||
name = "${project.name}".toString() | ||
description = "${project.name}".toString() | ||
url = 'https://github.com/linkedin/TonY' | ||
licenses { | ||
license { | ||
name = "BSD 2-Clause" | ||
url = "https://opensource.org/licenses/BSD-2-Clause" | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = 'erwa' | ||
name = 'Anthony Hsu' | ||
} | ||
developer { | ||
id = 'jhung' | ||
name = 'Jonathan Hung' | ||
} | ||
developer { | ||
id = 'oliverhu' | ||
name = 'Keqiu Hu' | ||
} | ||
} | ||
scm { | ||
connection = 'https://github.com/linkedin/TonY.git' | ||
developerConnection = '[email protected]:linkedin/TonY.git' | ||
url = 'https://github.com/linkedin/TonY' | ||
} | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2" | ||
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots" | ||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl | ||
credentials { | ||
username findProperty("mavenUser") | ||
password findProperty("mavenPassword") | ||
} | ||
} | ||
} | ||
} | ||
signing { | ||
sign publishing.publications.mavenJava | ||
} | ||
} | ||
|
||
apply plugin: 'distribution' | ||
|
||
// Generates a closure which is used to set up the contents | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
apply plugin: 'java' | ||
|
||
dependencies { | ||
compile deps.azkaban.az_core | ||
compile deps.azkaban.azkaban_common | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
apply plugin: 'java' | ||
apply plugin: 'com.google.protobuf' | ||
|
||
dependencies { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
apply plugin: 'java' | ||
|
||
dependencies { | ||
compile deps.external.avro | ||
compile deps.external.guava | ||
|
This file was deleted.
Oops, something went wrong.