Flatten packages
Remove modules prefix
@ -21,7 +21,7 @@ RUN chown -R $APPLICATION_USER /app
|
||||
USER $APPLICATION_USER
|
||||
|
||||
COPY --from=jdkbuilder /myjdk /myjdk
|
||||
COPY simplenotes-app/build/libs/simplenotes-app-with-dependencies*.jar /app/simplenotes.jar
|
||||
COPY app/build/libs/app-with-dependencies*.jar /app/simplenotes.jar
|
||||
WORKDIR /app
|
||||
|
||||
CMD [ \
|
||||
|
||||
@ -10,10 +10,10 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":simplenotes-domain"))
|
||||
implementation(project(":simplenotes-types"))
|
||||
implementation(project(":simplenotes-config"))
|
||||
implementation(project(":simplenotes-views"))
|
||||
implementation(project(":domain"))
|
||||
implementation(project(":types"))
|
||||
implementation(project(":config"))
|
||||
implementation(project(":views"))
|
||||
|
||||
implementation(Libs.arrowCoreData)
|
||||
implementation(Libs.konform)
|
||||
@ -14,5 +14,5 @@
|
||||
<logger name="com.zaxxer.hikari" level="INFO"/>
|
||||
<logger name="org.flywaydb.core" level="INFO"/>
|
||||
<logger name="io.micronaut" level="INFO"/>
|
||||
<logger name="io.micronaut.context.lifecycle" level="DEBUG"/>
|
||||
<logger name="io.micronaut.context.lifecycle" level="INFO"/>
|
||||
</configuration>
|
||||
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 814 B After Width: | Height: | Size: 814 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
1
app/test/Index.kt
Normal file
@ -0,0 +1 @@
|
||||
package be.simplenotes.app
|
||||
@ -15,15 +15,15 @@ open class CssTask : DefaultTask() {
|
||||
|
||||
private val viewsProject = project
|
||||
.parent
|
||||
?.project(":simplenotes-views")
|
||||
?: error("Missing :simplenotes-views")
|
||||
?.project(":views")
|
||||
?: error("Missing :views")
|
||||
|
||||
@get:InputDirectory
|
||||
val templatesDir = viewsProject.extensions
|
||||
.getByType<SourceSetContainer>()
|
||||
.asMap.getOrElse("main") { error("main sources not found") }
|
||||
.allSource.srcDirs
|
||||
.find { it.endsWith("kotlin") }
|
||||
.find { it.endsWith("src") }
|
||||
?: error("kotlin sources not found")
|
||||
|
||||
private val yarnRoot = File(project.rootDir, "css")
|
||||
|
||||
@ -24,3 +24,6 @@ java {
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
sourceSets["main"].resources.srcDirs("resources")
|
||||
sourceSets["test"].resources.srcDirs("testresources")
|
||||
|
||||
@ -10,5 +10,5 @@ tasks.withType<Test> {
|
||||
|
||||
sourceSets {
|
||||
val test by getting
|
||||
test.resources.srcDir("${rootProject.projectDir}/simplenotes-test-resources/src/test/resources")
|
||||
test.resources.srcDir("${rootProject.projectDir}/testresources/src/test/resources")
|
||||
}
|
||||
|
||||
@ -23,3 +23,6 @@ tasks.withType<KotlinCompile> {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
kotlin.sourceSets["main"].kotlin.srcDirs("src")
|
||||
kotlin.sourceSets["test"].kotlin.srcDirs("test")
|
||||
|
||||
@ -7,10 +7,10 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":simplenotes-config"))
|
||||
implementation(project(":simplenotes-types"))
|
||||
implementation(project(":simplenotes-persistance"))
|
||||
implementation(project(":simplenotes-search"))
|
||||
implementation(project(":config"))
|
||||
implementation(project(":types"))
|
||||
implementation(project(":persistance"))
|
||||
implementation(project(":search"))
|
||||
|
||||
implementation(Libs.micronaut)
|
||||
kapt(Libs.micronautProcessor)
|
||||
1
domain/src/Index.kt
Normal file
@ -0,0 +1 @@
|
||||
package be.simplenotes.domain
|
||||
1
domain/test/Index.kt
Normal file
@ -0,0 +1 @@
|
||||
package be.simplenotes.domain
|
||||
@ -7,8 +7,8 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":simplenotes-types"))
|
||||
implementation(project(":simplenotes-config"))
|
||||
implementation(project(":types"))
|
||||
implementation(project(":config"))
|
||||
|
||||
implementation(Libs.mariadbClient)
|
||||
implementation(Libs.h2)
|
||||
@ -29,9 +29,9 @@ dependencies {
|
||||
testImplementation(Libs.logbackClassic)
|
||||
testImplementation(Libs.mariaTestContainer)
|
||||
|
||||
testFixturesImplementation(project(":simplenotes-types"))
|
||||
testFixturesImplementation(project(":simplenotes-config"))
|
||||
testFixturesImplementation(project(":simplenotes-persistance"))
|
||||
testFixturesImplementation(project(":types"))
|
||||
testFixturesImplementation(project(":config"))
|
||||
testFixturesImplementation(project(":persistance"))
|
||||
|
||||
testFixturesImplementation(Libs.micronaut)
|
||||
kaptTestFixtures(Libs.micronautProcessor)
|
||||
@ -48,3 +48,5 @@ dependencies {
|
||||
testFixturesImplementation(Libs.ktormCore)
|
||||
testFixturesImplementation(Libs.hikariCP)
|
||||
}
|
||||
|
||||
kotlin.sourceSets["testFixtures"].kotlin.srcDirs("testfixtures")
|
||||