Initial import
This commit is contained in:
37
build.gradle
Normal file
37
build.gradle
Normal file
@@ -0,0 +1,37 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath "io.ratpack:ratpack-gradle:1.5.1"
|
||||
classpath 'com.h2database:h2:1.4.191'
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "org.flywaydb.flyway" version "5.0.7"
|
||||
id "io.ratpack.ratpack-groovy" version "1.5.1"
|
||||
id 'idea'
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile ratpack.dependency('h2')
|
||||
compile ratpack.dependency('jdbc-tx')
|
||||
compile 'org.flywaydb:flyway-core:5.0.7'
|
||||
runtime 'org.slf4j:slf4j-simple:1.7.25'
|
||||
|
||||
testCompile ratpack.dependency('test')
|
||||
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
|
||||
testCompile 'cglib:cglib:2.2.2'
|
||||
testCompile 'org.objenesis:objenesis:2.1'
|
||||
}
|
||||
|
||||
flyway {
|
||||
url = 'jdbc:h2:mem:dbtdb'
|
||||
user = 'SA'
|
||||
}
|
||||
run.dependsOn(flywayMigrate)
|
||||
Reference in New Issue
Block a user