- [x] Create fineract-investor module for build - [x] modify tenant liquibase loader to using module based liquibase processing - [x] sample liquibase into the fineract-investor module - [x] Move NewCommandSourceHandler and dependencies to the fineract-core
47 lines
2.1 KiB
Groovy
47 lines
2.1 KiB
Groovy
/**
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
* or more contributor license agreements. See the NOTICE file
|
|
* distributed with this work for additional information
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
* to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance
|
|
* with the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
dependencies {
|
|
// Never use "compile" scope, but make all dependencies either 'implementation', 'runtimeOnly' or 'testCompile'.
|
|
// Note that we never use 'api', because Fineract at least currently is a simple monolithic application ("WAR"), not a library.
|
|
// We also (normally should have) no need to ever use 'compileOnly'.
|
|
|
|
// implementation dependencies are directly used (compiled against) in src/main (and src/test)
|
|
//
|
|
api(project(path: ':fineract-core'))
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor'
|
|
|
|
// testCompile dependencies are ONLY used in src/test, not src/main.
|
|
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
|
//
|
|
testImplementation( 'io.cucumber:cucumber-spring',
|
|
'io.github.classgraph:classgraph',
|
|
)
|
|
testImplementation ('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'com.jayway.jsonpath', module: 'json-path'
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
exclude group: 'jakarta.activation'
|
|
exclude group: 'javax.activation'
|
|
exclude group: 'org.skyscreamer'
|
|
}
|
|
testImplementation ('org.mockito:mockito-inline')
|
|
}
|