Skip to content

Instantly share code, notes, and snippets.

@kijanowski
Last active October 24, 2019 19:05
Show Gist options
  • Save kijanowski/96fd8fc3d41651055fe10472bc6eeee3 to your computer and use it in GitHub Desktop.
Save kijanowski/96fd8fc3d41651055fe10472bc6eeee3 to your computer and use it in GitHub Desktop.
allprojects {
repositories {
jcenter()
mavenCentral()
}
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.freefair.gradle:lombok-plugin:4.1.2"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
group = 'some'
}
configure(subprojects.findAll {
it.name == 'gateway' ||
it.name == 'user-service' ||
it.name == 'mail-service'
}) {
apply plugin: 'groovy'
apply plugin: 'checkstyle'
apply plugin: 'io.freefair.lombok'
dependencies {
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment