mirror of
https://github.com/corda/corda.git
synced 2025-02-01 08:48:09 +00:00
Fixed another cordformation bug caused by having them in a non-root project.
This commit is contained in:
parent
235cee6727
commit
7ff8b00666
@ -15,6 +15,7 @@ buildscript {
|
||||
ext.bouncycastle_version = '1.54'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
// TODO: Remove this once all packages are published to jcenter or maven central. (M6 or 7).
|
||||
@ -27,7 +28,7 @@ buildscript {
|
||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
|
||||
classpath 'net.corda.plugins:publish-utils:0.5'
|
||||
classpath 'net.corda.plugins:quasar-utils:0.5.1'
|
||||
classpath 'net.corda.plugins:cordformation:0.5.1'
|
||||
classpath 'net.corda.plugins:cordformation:0.5.2'
|
||||
|
||||
// Can run 'gradle dependencyUpdates' to find new versions of things.
|
||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0'
|
||||
|
@ -23,7 +23,7 @@ class Cordformation implements Plugin<Project> {
|
||||
* @return A file handle to the file in the JAR.
|
||||
*/
|
||||
static File getPluginFile(Project project, String filePathInJar) {
|
||||
return project.resources.text.fromArchiveEntry(project.buildscript.configurations.classpath.find {
|
||||
return project.rootProject.resources.text.fromArchiveEntry(project.rootProject.buildscript.configurations.classpath.find {
|
||||
it.name.contains('cordformation')
|
||||
}, filePathInJar).asFile()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user