feat: init core module

This commit is contained in:
vran
2021-12-28 22:55:50 +08:00
parent f92a89a473
commit d20a400931
35 changed files with 1347 additions and 1 deletions

42
build.gradle Normal file
View File

@@ -0,0 +1,42 @@
plugins {
id 'java'
}
subprojects {
apply plugin: 'java'
group 'cc.cc1234'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
lombokVersion = '1.18.22'
mapstructVersion = '1.4.2.Final'
junitVersion = '5.7.0'
slf4jVersion = '1.7.32'
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
implementation "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
implementation "org.mapstruct:mapstruct:${mapstructVersion}"
annotationProcessor "org.mapstruct:mapstruct:${mapstructVersion}"
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
}
test {
useJUnitPlatform()
}
}