You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2020/05/10 19:48:16 UTC

[fineract] branch develop updated: remove broken dev-dependencies.gradle (until FINERACT-939)

This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3226b63  remove broken dev-dependencies.gradle (until FINERACT-939)
3226b63 is described below

commit 3226b63383aae62f2dd4856991c5a0ced9756b3d
Author: Michael Vorburger <mi...@vorburger.ch>
AuthorDate: Sun May 10 14:39:02 2020 +0200

    remove broken dev-dependencies.gradle (until FINERACT-939)
---
 fineract-provider/build.gradle            |   5 +-
 fineract-provider/dev-dependencies.gradle | 128 ------------------------------
 2 files changed, 4 insertions(+), 129 deletions(-)

diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index d06460d..d92a024 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -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') {
diff --git a/fineract-provider/dev-dependencies.gradle b/fineract-provider/dev-dependencies.gradle
deleted file mode 100644
index 071676a..0000000
--- a/fineract-provider/dev-dependencies.gradle
+++ /dev/null
@@ -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'
-    }
-}