remove broken dev-dependencies.gradle (until FINERACT-939)

This commit is contained in:
Michael Vorburger
2020-05-10 21:48:05 +02:00
committed by Michael Vorburger ⛑️
parent 8743fc9743
commit 3226b63383
2 changed files with 4 additions and 129 deletions
+4 -1
View File
@@ -288,12 +288,15 @@ tasks.withType(JavaCompile) {
options.deprecation = true
}
/* Pick up dependencies based on the environemnt, defaults to production */
apply from: 'dependencies.gradle'
/* TODO https://issues.apache.org/jira/browse/FINERACT-939 (dev-dependencies.gradle has been removed, as totally broken)
// Pick up dependencies based on the environment, defaults to production
if (project.hasProperty('env') && project.getProperty('env') == 'dev') {
apply from: 'dev-dependencies.gradle'
} else {
apply from: 'dependencies.gradle'
}
*/
/* Enable Oauth2 authentication based on environment, default to HTTP basic auth */
if (project.hasProperty('security') && project.getProperty('security') == 'oauth') {
-128
View File
@@ -1,128 +0,0 @@
/**
* 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 {
tomcat "org.apache.tomcat.embed:tomcat-embed-core",
"org.apache.tomcat.embed:tomcat-embed-logging-log4j" // NOT tomcat-embed-logging-juli (http://stackoverflow.com/questions/23963049/classcircularityerror-java-util-logging-logrecord-running-gradle-webapp-with-ja)
tomcat("org.apache.tomcat.embed:tomcat-embed-jasper") {
exclude group: 'org.eclipse.jdt.core.compiler', module: 'ecj'
}
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
spotbugsPlugins "jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar"
api(
'com.google.code.gson:gson',
'org.quartz-scheduler:quartz',
'joda-time:joda-time',
'org.apache.openjpa:openjpa-all',
'org.springframework:spring-jms',
'org.mnode.ical4j:ical4j',
'com.google.guava:guava',
'org.springframework:spring-context-support',
'org.springframework.security.oauth:spring-security-oauth2',
'com.squareup.retrofit:retrofit',
'com.sun.jersey:jersey-core',
)
implementation(
'ch.vorburger.mariaDB4j:mariaDB4j',
'org.springframework.boot:spring-boot-starter-web',
'org.springframework.boot:spring-boot-starter-data-jpa',
'org.springframework.boot:spring-boot-starter-security',
'org.springframework.boot:spring-boot-starter-actuator',
//'org.eclipse.persistence:javax.persistence',
'org.apache.openjpa:openjpa-maven-plugin',
'javax.ws.rs:jsr311-api',
'com.sun.jersey:jersey-servlet',
'com.sun.jersey:jersey-server',
'com.sun.jersey:jersey-json',
'com.sun.jersey.contribs:jersey-spring',
'com.sun.jersey.contribs:jersey-multipart',
'com.squareup.okhttp:okhttp',
'com.squareup.okhttp:okhttp-urlconnection',
//'net.sourceforge.javacsv:javacsv',
'org.apache.commons:commons-email',
'org.apache.commons:commons-lang3',
// no slf4j & logback here (anymore), as spring-boot-starter-logging already brings this now, better assembled (log4j-over-slf4j was originally forgotten here)
//'mysql:mysql-connector-java',
'org.drizzle.jdbc:drizzle-jdbc',
'org.apache.poi:poi',
'org.apache.poi:poi-ooxml',
'org.apache.poi:poi-ooxml-schemas',
'com.lowagie:itext',
'com.lowagie:itext-rtf',
'com.googlecode.flyway:flyway-core',
'com.amazonaws:aws-java-sdk-s3',
'net.sf.ehcache:ehcache',
'com.github.spullara.mustache.java:compiler',
'com.jayway.jsonpath:json-path',
'org.apache.tika:tika-core',
// Although fineract (at the time of writing) doesn't have any compile time dep. on this,
// it's useful to have this for the Spring Boot TestRestTemplate http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-rest-templates-test-utility
'org.apache.httpcomponents:httpclient',
// Once we've switched to Java 8 this dep can be removed.
//'com.google.code.findbugs:jsr305',
'io.swagger:swagger-jersey-jaxrs',
'org.apache.activemq:activemq-broker',
'javax.validation:validation-api',
)
testCompile 'io.rest-assured:rest-assured',
'junit:junit',
//'junit:junit-dep:4.11',
'org.mockito:mockito-core',
'org.slf4j:slf4j-simple',
'com.mockrunner:mockrunner-jms',
'com.google.code.gson:gson',
'org.springframework:spring-jms',
'joda-time:joda-time',
'org.mnode.ical4j:ical4j',
'com.google.guava:guava',
'org.apache.poi:poi-ooxml',
'org.springframework:spring-context-support',
'com.sun.jersey:jersey-core',
'com.mockrunner:mockrunner-jdbc'
testCompile ("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'com.jayway.jsonpath', module: 'json-path'
}
}