Skip to content

Commit

Permalink
Delete port in jib. Specidy thrm in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MarrMika committed Jun 10, 2020
1 parent 87ff905 commit 0e8be2d
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ jib {
}
container {
jvmFlags = ['--enable-preview']
ports = ['8082']
volumes = ["/tmp"]
}
}
Expand Down Expand Up @@ -152,10 +151,10 @@ liquibase {
}
}

//tasks.withType(JavaCompile).each {
// it.options.compilerArgs.add('--enable-preview')
//}
//
//test {
// jvmArgs(['--enable-preview'])
//}
tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}

test {
jvmArgs(['--enable-preview'])
}

0 comments on commit 0e8be2d

Please sign in to comment.