Skip to content
Snippets Groups Projects
Commit 39308261 authored by Inseo Kim's avatar Inseo Kim
Browse files

Finally folder and related gradle file has been setup for console application

parent a2a925ec
No related branches found
No related tags found
No related merge requests found
Pipeline #83011 failed
......@@ -12,6 +12,7 @@
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/buildSrc" />
<option value="$PROJECT_DIR$/console" />
<option value="$PROJECT_DIR$/list" />
<option value="$PROJECT_DIR$/utilities" />
</set>
......
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'notes.multi.kotlin-application-conventions'
}
dependencies {
implementation 'org.apache.commons:commons-text'
implementation project(':utilities')
}
application {
// Define the main class for the application.
mainClass = 'notes.multi.console.Console.kt'
}
/*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
package notes.multi.console
import notes.multi.utilities.StringUtils
import org.apache.commons.text.WordUtils
fun main() {
println("this is multi setup")
}
/*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
package notes.multi.app
class MessageUtils {
companion object {
fun getMessage(): String = "Hello World!"
}
}
/*
* This Kotlin source file was generated by the Gradle "init" task.
*/
package notes.multi.app
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.assertEquals
class MessageUtilsTest {
@Test fun testGetMessage() {
assertEquals("Hello World!", MessageUtils.getMessage())
}
}
......@@ -8,4 +8,4 @@
*/
rootProject.name = 'notes-multi'
include('app', 'list', 'utilities')
include('app', 'list', 'utilities', 'console')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment