HelloCorda/settings.gradle

37 lines
1.5 KiB
Groovy
Raw Normal View History

pluginManagement {
// Declare the repositories where plugins are stored.
repositories {
gradlePluginPortal()
2023-01-11 12:30:17 +01:00
mavenCentral()
mavenLocal()
2023-03-16 19:29:57 +01:00
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')
}
2023-03-16 19:29:57 +01:00
}
}
// 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'