github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/cordapp_kat/build.gradle (about)

     1  plugins {
     2      id 'net.corda.plugins.cordapp' version '5.0.8'
     3      id 'io.spring.dependency-management' version '1.0.11.RELEASE'
     4      id "com.github.johnrengelman.shadow" version "5.2.0"
     5  }
     6  
     7  allprojects {
     8      apply plugin: 'net.corda.plugins.cordapp'
     9      apply plugin: 'io.spring.dependency-management'
    10  
    11      repositories {
    12          mavenLocal()
    13          mavenCentral()
    14          jcenter()
    15          maven {
    16              url 'https://software.r3.com/artifactory/corda-dependencies'
    17              }
    18          maven { url 'https://software.r3.com/artifactory/corda/' }
    19          maven { url 'https://jitpack.io' }
    20          maven { url 'https://repo.gradle.org/gradle/libs-releases' }
    21      }
    22  
    23      // Corda serialization requires function parameter names to be included in the class file
    24      compileJava {
    25          options.compilerArgs << '-parameters'
    26      }
    27  
    28      task buildAll {
    29          doLast { task ->
    30              println "Building $task.project.name"
    31          }
    32      }
    33  }
    34  
    35  subprojects {
    36      version = '1.0'
    37  
    38      buildAll {
    39          dependsOn 'build'
    40      }
    41  }