HelloCorda/settings.gradle
Tony Lawson 2346e34494
CORE-10259: Update template to use CSDE plugin (#35)
* updated csde to use plugin

* update csde block

* update network file

* allign to Kotlin csde

* CORE-10259: Update template to use CSDE plugin

---------

Co-authored-by: mattbradburyr3 <matthew.bradbury@r3.com>
2023-04-11 17:25:31 +01:00

37 lines
1.5 KiB
Groovy

pluginManagement {
// Declare the repositories where plugins are stored.
repositories {
gradlePluginPortal()
mavenCentral()
mavenLocal()
maven {
url = "$artifactoryContextUrl/corda-os-maven"
authentication {
basic(BasicAuthentication)
}
credentials {
username = settings.ext.find('cordaArtifactoryUsername') ?: System.getenv('CORDA_ARTIFACTORY_USERNAME')
password = settings.ext.find('cordaArtifactoryPassword') ?: System.getenv('CORDA_ARTIFACTORY_PASSWORD')
}
}
}
// The plugin dependencies with versions of the plugins congruent with the specified CorDapp plugin version,
// Corda API version, and Kotlin version.
plugins {
id 'net.corda.plugins.cordapp-cpk2' version cordaPluginsVersion
id 'net.corda.plugins.cordapp-cpb2' version cordaPluginsVersion
id 'net.corda.cordapp.cordapp-configuration' version cordaApiVersion
id 'net.corda.plugins.csde' version csdePluginVersion
id 'org.jetbrains.kotlin.jvm' version kotlinVersion
id 'org.jetbrains.kotlin.plugin.jpa' version kotlinVersion
id 'org.jetbrains.kotlin.plugin.allopen' version kotlinVersion
}
}
// Root project name, used in naming the project as a whole and used in naming objects built by the project.
rootProject.name = 'csde-cordapp-template-java'
include ':workflows'
include ':contracts'