Skip to content
Permalink
Browse files

Share including hooks.gradle with all subprojects

  • Loading branch information...
ryanhall07 committed Dec 4, 2018
1 parent 6bc5d43 commit 00a5fbdef191592d890886c22275bd0a0059ebda
@@ -1,5 +1,6 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.2.51" apply false
id "com.vanniktech.maven.publish" version "0.4.0" apply false
}

ext {
@@ -33,7 +34,6 @@ subprojects {

dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.4.0'
}
}
repositories {
@@ -77,5 +77,8 @@ subprojects {
exceptionFormat = 'full'
}
}
if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
}

@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.awsApi
compile dep.awsSqs
@@ -14,7 +12,3 @@ dependencies {
testCompile dep.docker
testCompile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.tracingJaeger
compile project(':misk')
@@ -10,7 +8,3 @@ dependencies {
testCompile dep.junitParams
testCompile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -5,7 +5,6 @@ buildscript {
}

apply plugin: 'kotlin-jpa'
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.hibernateCore
@@ -22,7 +21,3 @@ dependencies {
testCompile project(':misk-testing')
testCompile project(':misk-hibernate-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,13 +1,7 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.assertj
compile dep.junitApi
compile project(':misk')
compile project(':misk-gcp')
compile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.gcpCloudStorage
compile(dep.gcpDatastore) {
@@ -16,7 +14,3 @@ dependencies {
testCompile project(':misk-testing')
testCompile project(':misk-gcp-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -4,7 +4,6 @@ buildscript {
}
}

apply plugin: "com.vanniktech.maven.publish"
apply plugin: 'com.google.protobuf'

protobuf {
@@ -43,7 +42,3 @@ dependencies {
compile project(':misk')
compile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,13 +1,7 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.junitApi
compile dep.docker
compile project(':misk')
compile project(':misk-testing')
compile project(':misk-hibernate')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -5,7 +5,6 @@ buildscript {
}

apply plugin: 'kotlin-jpa'
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.datasourceProxy
@@ -22,7 +21,3 @@ dependencies {
testCompile project(':misk-testing')
testCompile project(':misk-hibernate-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.tracingJaeger
compile project(':misk')
@@ -10,7 +8,3 @@ dependencies {
testCompile dep.junitParams
testCompile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -5,7 +5,6 @@ buildscript {
}

apply plugin: 'kotlin-jpa'
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.guava
@@ -16,7 +15,3 @@ dependencies {

testCompile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,12 +1,6 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.tracingJaeger
compile project(':misk')

testCompile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.prometheusHttpserver
compile project(':misk')
@@ -11,7 +9,3 @@ dependencies {
testCompile project(':misk-testing')
testCompile project(':misk-gcp-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.docker
compile dep.junitApi
@@ -13,7 +11,3 @@ dependencies {
compile dep.mockitoCore
compile project(':misk')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -1,5 +1,3 @@
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.tracingZipkin
compile dep.zipkinReporter
@@ -12,7 +10,3 @@ dependencies {
testCompile dep.junitParams
testCompile project(':misk-testing')
}

if (rootProject.file("../upload.gradle").exists()) {
apply from: rootProject.file("../upload.gradle")
}
@@ -5,7 +5,6 @@ buildscript {
}

apply plugin: 'kotlin-jpa'
apply plugin: "com.vanniktech.maven.publish"

dependencies {
compile dep.curatorFramework
@@ -17,7 +16,3 @@ dependencies {
testCompile dep.zookeeper
testCompile project(':misk-testing')
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}
@@ -3,7 +3,6 @@ kotlin {
coroutines 'enable'
}
}
apply plugin: 'com.vanniktech.maven.publish'
apply from: rootProject.file("gradle/localdb.gradle")
apply from: "https://raw.githubusercontent.com/square/misk-web/master/gradle/web.gradle"

@@ -71,7 +70,3 @@ if (rootProject.file("repositories.gradle").exists()) {
compile dep.miskWeb
}
}

if (rootProject.file("hooks.gradle").exists()) {
apply from: rootProject.file("hooks.gradle")
}

0 comments on commit 00a5fbd

Please sign in to comment.
You can’t perform that action at this time.