-
Notifications
You must be signed in to change notification settings - Fork 12
Home
kishore edited this page Nov 24, 2017
·
22 revisions
- Library located at
root/src/lib/kotlin - Tests located at
root/src/lib/kotlin/slatekit-tests
Refer to http://www.slatekit.com/kotlin-setup.html for more info on compiling
- Ensure you have gradle 3.5 gradle --version
- Download Slate Kit source
c:\tools\lib\slatekit\0_9_2 - Open terminal and cd to
\src\lib\kotline.g.c:\tools\lib\slatekit\0_9_2\src\lib\kotlin - Clean the build first gradle clean
- Upgrade the version number in
build.gradle - Build using gradle gradle build
Gradle unit-tests automation is not yet ready. The tests have be to run using IntellJ
- Open the project(s) in intellij
- Right-click the test projects and select (Run all tests)
- About ~350 tests should pass
- There may be 4 failures - to fix soon
This is similar to the build steps. Open terminal to root\src\lib\kotlin
- Build the poms for distribution gradle genPom
- Copy Slate Kit jars to a central dist directory gradle copyJars
- The poms and jar files will be copied to
src\lib\kotlin\dist\{version}
Use bintray to upload the jars/poms. Gradle automation is not yet setup
- Login to bintray
- For each project create new version e..g 0.9.7
- For the new version, upload jar file
- Publish the files at the prompt/option
- From list of files, select the jar file to be shown in downloads
- Upload the pom file
- Do same for the other 6 projects