mirror of
https://github.com/corda/corda.git
synced 2024-12-24 23:26:48 +00:00
ab43238420
* [EG-438] First commit of error code interface * [EG-438] Implement error reporter and a few error codes * [EG-438] Add unit tests and default properties files * [EG-438] Add the error table builder * [EG-438] Update initial properties files * [EG-438] Add some Irish tests and the build.gradle * [EG-438] Fall back for aliases and use different resource strategy * [EG-438] Define the URL using a project-specific context * [EG-438] Tidy up initialization code * [EG-438] Add testing to generator and tidy up * [EG-438] Remove direct dependency on core and add own logging config * [EG-438] Fix compiler warnings and tidy up logging * [EG-438] Fix detekt warnings * [EG-438] Improve error messages * [EG-438] Address first set of review comments * [EG-438] Use enums and a builder for the reporter * [EG-438] Add kdocs for error resource static methods * [EG-438] Handle enums defined with underscores * [EG-438] Slight refactoring of startup code * [EG-438] Port changes to error reporting code from future branch * [EG-438] Also port test changes * [EG-438] Suppress a deliberately unused parameter
37 lines
1.0 KiB
Groovy
37 lines
1.0 KiB
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
dependencies {
|
|
compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8", version: kotlin_version
|
|
compile group: "org.jetbrains.kotlin", name: "kotlin-reflect", version: kotlin_version
|
|
|
|
compile group: "com.typesafe", name: "config", version: typesafe_config_version
|
|
|
|
// Log4J: logging framework
|
|
compile "org.apache.logging.log4j:log4j-core:$log4j_version"
|
|
|
|
compile "com.jcabi:jcabi-manifests:$jcabi_manifests_version"
|
|
|
|
testCompile project(":test-utils")
|
|
testCompile "com.nhaarman:mockito-kotlin:$mockito_kotlin_version"
|
|
testCompile "org.mockito:mockito-core:$mockito_version"
|
|
}
|
|
|
|
|
|
task generateSource(type: Copy) {
|
|
from 'src/main/template'
|
|
filter(ReplaceTokens, tokens: [corda_release_version: corda_release_version])
|
|
into 'src/main'
|
|
}
|
|
compileKotlin.dependsOn generateSource
|
|
|
|
jar {
|
|
baseName 'corda-common-logging'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
} |