Skip to content

Commit

Permalink
Add Derby database implementation for Unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
palych-piter committed Jul 9, 2017
1 parent 0d32e23 commit 6b3bad9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 42 deletions.
20 changes: 15 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,32 @@ repositories {


dependencies {
//eliminate the :common project now since all method are in the excel2db class now
//compile project (":common")

compile 'ch.qos.logback:logback-classic:1.2.2'
compile 'javax.persistence:persistence-api:1.0.2'
compile ('org.springframework:spring-context:4.3.7.RELEASE'){
exclude module: 'commons-logging' // force Spring to use jcl-over-slf4j bridge
}

compile 'org.springframework.boot:spring-boot-starter-test:1.5.3.RELEASE'
compile 'org.apache.poi:poi:3.15'
compile 'org.apache.poi:poi-ooxml:3.15'
compile 'org.postgresql:postgresql:42.0.0.jre7'
compile 'org.apache.poi:poi-ooxml:3.15'
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'

compile 'org.postgresql:postgresql:42.0.0.jre7'

//jdbc drivers -- oracle, the Oracle driver is officially NOT shared in the Maven Repo
//because of license aspects
compile files('libs/ojdbc6.jar')

//Derby is used as a mockup object for In-Memory testing
compile 'org.apache.derby:derby:10.13.1.1'

compile('junit:junit:4.12'){
exclude group: 'org.hamcrest'
}
}
compile 'org.hamcrest:hamcrest-library:1.3'

}


Expand Down
1 change: 0 additions & 1 deletion build/libs/.gradle/2.13/taskArtifacts/cache.properties

This file was deleted.

17 changes: 0 additions & 17 deletions build/libs/excel2db.properties

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions build/resources/main/excel2db.properties

This file was deleted.

0 comments on commit 6b3bad9

Please sign in to comment.