Skip to content
kishore edited this page Nov 24, 2017 · 22 revisions

Source

  • Library located at root/src/lib/kotlin
  • Tests located at root/src/lib/kotlin/slatekit-tests

Build

Refer to http://www.slatekit.com/kotlin-setup.html for more info on compiling

  1. Ensure you have gradle 3.5 gradle --version
  2. Download Slate Kit source c:\tools\lib\slatekit\0_9_2
  3. Open terminal and cd to \src\lib\kotlin e.g. c:\tools\lib\slatekit\0_9_2\src\lib\kotlin
  4. Clean the build first gradle clean
  5. Upgrade the version number in build.gradle
  6. Build using gradle gradle build

Test

Gradle unit-tests automation is not yet ready. The tests have be to run using IntellJ

  1. Open the project(s) in intellij
  2. Right-click the test projects and select (Run all tests)
  3. About ~350 tests should pass
  4. There may be 4 failures - to fix soon

Package

This is similar to the build steps. Open terminal to root\src\lib\kotlin

  1. Build the poms for distribution gradle genPom
  2. Copy Slate Kit jars to a central dist directory gradle copyJars
  3. The poms and jar files will be copied to src\lib\kotlin\dist\{version}

Clone this wiki locally