base
This commit is contained in:
43
build.gradle
Normal file
43
build.gradle
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
Запуск
|
||||
gradle run
|
||||
*/
|
||||
|
||||
import ru.dmitriymx.gradle.plugin.LibsPlugin
|
||||
import ru.dmitriymx.gradle.plugin.LogicPlugin
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
apply plugin: LibsPlugin
|
||||
apply plugin: LogicPlugin
|
||||
|
||||
project.group = logic.getProperty1('project.group')
|
||||
project.version = logic.getProperty1('project.version')
|
||||
jar.archiveBaseName.set(logic.getProperty1('project.name'))
|
||||
|
||||
compileJava {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
annotationProcessor libs.lombok
|
||||
compileOnly libs.lombok
|
||||
compileOnly libs.annotations
|
||||
|
||||
implementation libs.logger.slf4j
|
||||
implementation libs.logger.logback
|
||||
|
||||
implementation libs.dagger2.implementation
|
||||
annotationProcessor libs.dagger2.annotationProcessor
|
||||
}
|
||||
|
||||
application.mainClassName = 'mc.server.Main'
|
||||
Reference in New Issue
Block a user