Archived
0

перенос кода в подмодуль

This commit is contained in:
2021-04-26 15:02:54 +03:00
parent 65a2f4ef81
commit 38091e8685
31 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
apply plugin: 'java'
String getProperty1(String propertyName1, String propertyName2) {
return (String) (project.hasProperty(propertyName1) ? project.property(propertyName1) : project.property(propertyName2))
}

View File

@@ -3,14 +3,11 @@
gradle run
*/
plugins {
id 'java'
id 'application'
}
apply from: rootDir.toPath().resolve('logic.gradle').toFile()
apply from: rootDir.toPath().resolve('libs.gradle').toFile()
apply plugin: 'application'
dependencies {
annotationProcessor libs.lombok
compileOnly libs.lombok

3
server/gradle.properties Normal file
View File

@@ -0,0 +1,3 @@
# suppress inspection "UnusedProperty" for whole file
module.name=server
module.version=1.0-SNAPSHOT