Gradle Bootrun Example

Posted on  by 



For example mine is 192.168.99.100, I'm using this instead of 192.168.59.103 that's in the example., If you'd like to use the bootRun command make sure you are running it against the build.gradle in the core module like this (the properties file only works with an absolute path for me). The rest of the Gradle user manual and guides contain build script excerpts that demonstrate both the Groovy DSL and the Kotlin DSL. This is the best place where to find how to do this and what with each DSL; and it covers all Gradle features from using plugins to.

Gradle bootrun debug

docker-compose.yml

Set accounts password

Users

UsernameSID/ContainerPassword
SYSORCLCDBoracle
SYSTEMORCLCDBoracle
PDBADMINORCLPDB1oracle

SQLPLUS

The accounts to connect to oracle via sqlplus are:

Gradle Boot Run Example Key

Enteprise Management

To enable Enteprise Management for container ORCLPDB1:

Connect to https://oracle:5502/em/ username = sys, password=oracle and AS SYSDBA

Create user and rights for json insert via java/soda

Create a tablespace oracle, create a user oracle with password oracle grant rights to use soda:

Boot

Soda

Check inserted data

Tasks

Gradle bootrun jvmargs

Build

or

Test

Gradle Bootrun Stop

Run

Nexus

Gradlew Bootrun

~/.gradle/gradle.properties:

Docker





Coments are closed