forked from corda/CSDE-cordapp-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
36 lines (33 loc) · 1.46 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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-kotlin'
include ':workflows'
include ':contracts'