mirror of
https://github.com/corda/corda.git
synced 2025-01-14 00:39:57 +00:00
Configure buildSrc to be multi-module. (#2658)
* Configure buildSrc to be multi-module. * Declare canonicalizer plugin's descriptor via build.gradle.
This commit is contained in:
parent
4a73a80b39
commit
ef703c50be
@ -6,11 +6,16 @@ buildscript {
|
||||
}
|
||||
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'java'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "com.google.guava:guava:$guava_version"
|
||||
// Add the top-level projects ONLY to the host project.
|
||||
runtime project.childProjects.values().collect {
|
||||
project(it.path)
|
||||
}
|
||||
}
|
||||
|
22
buildSrc/canonicalizer/build.gradle
Normal file
22
buildSrc/canonicalizer/build.gradle
Normal file
@ -0,0 +1,22 @@
|
||||
plugins {
|
||||
id 'groovy'
|
||||
id 'java-gradle-plugin'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
canonicalizerPlugin {
|
||||
id = 'net.corda.plugins.canonicalizer'
|
||||
implementationClass = 'CanonicalizerPlugin'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "com.google.guava:guava:$guava_version"
|
||||
}
|
2
buildSrc/settings.gradle
Normal file
2
buildSrc/settings.gradle
Normal file
@ -0,0 +1,2 @@
|
||||
rootProject.name = 'buildSrc'
|
||||
include 'canonicalizer'
|
Loading…
Reference in New Issue
Block a user