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}

Deploy

Use bintray to upload the jars/poms. Gradle automation is not yet setup

  1. Login to bintray
  2. For each project create new version e..g 0.9.7
  3. For the new version, upload jar file
  4. Publish the files at the prompt/option
  5. From list of files, select the jar file to be shown in downloads
  6. Upload the pom file
  7. Do same for the other 6 projects

Clone this wiki locally