refactor: renamed module simple-serial to simple-serial-spring-boot-starter and removed build scripts in root build.gradle.kts
This commit is contained in:
@@ -15,7 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import java.net.URI
|
||||
plugins {
|
||||
java
|
||||
id("java-library")
|
||||
id("maven-publish")
|
||||
id("signing")
|
||||
}
|
||||
|
||||
val artefactVersion: String by project
|
||||
val projectUrl: String by project
|
||||
@@ -26,8 +31,8 @@ val licenseUrl: String by project
|
||||
group = "com.onixbyte"
|
||||
version = artefactVersion
|
||||
|
||||
dependencies {
|
||||
implementation(project(":devkit-core"))
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -37,6 +42,27 @@ java {
|
||||
withJavadocJar()
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
exclude("logback.xml")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
val slf4jVersion: String by project
|
||||
val logbackVersion: String by project
|
||||
val junitVersion: String by project
|
||||
|
||||
compileOnly("org.slf4j:slf4j-api:$slf4jVersion")
|
||||
implementation("ch.qos.logback:logback-classic:$logbackVersion")
|
||||
implementation(project(":devkit-core"))
|
||||
|
||||
testCompileOnly("org.slf4j:slf4j-api:$slf4jVersion")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user