mirror of
https://github.com/corda/corda.git
synced 2024-12-30 09:48:59 +00:00
3a14ae89c0
* Api scanner backport and update of api-current.txt * Updated api-current based on current state of release branch * Update to most recent version of api scanner * Fix a couple of issues with the merge and regenerate the api file with the most recent version of the scanner. * Update changelog/release notes
44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'java-gradle-plugin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description "Generates a summary of the artifact's public API"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
apiScannerPlugin {
|
|
id = 'net.corda.plugins.api-scanner'
|
|
implementationClass = 'net.corda.plugins.ApiScanner'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "io.github.lukehutch:fast-classpath-scanner:2.7.0"
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
testCompile "junit:junit:$junit_version"
|
|
|
|
// This dependency is only to prevent IntelliJ from choking
|
|
// on the Kotlin classes in the test/resources directory.
|
|
testCompile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
testCompile project(':api-scanner:annotations')
|
|
}
|
|
|
|
processTestResources {
|
|
filesMatching('**/kotlin-*/build.gradle') {
|
|
expand(['kotlin_version': kotlin_version])
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name project.name
|
|
}
|