refac!: полная переработка проекта
This commit is contained in:
73
build.gradle
73
build.gradle
@@ -1,34 +1,45 @@
|
||||
//file:noinspection GrUnresolvedAccess
|
||||
buildscript {
|
||||
apply from: 'dependencies.gradle'
|
||||
|
||||
repositories {
|
||||
maven { url 'https://plugins.gradle.org/m2/' }
|
||||
}
|
||||
dependencies {
|
||||
// https://plugins.gradle.org/plugin/org.springframework.boot
|
||||
classpath deps.springboot.plugin
|
||||
}
|
||||
plugins {
|
||||
id("java")
|
||||
id("application")
|
||||
id("org.springframework.boot") version("3.4.0")
|
||||
id("io.spring.dependency-management") version("1.1.6")
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
|
||||
group = 'ru.di9.mirror'
|
||||
version = '1.0'
|
||||
|
||||
compileJava {
|
||||
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_17
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
annotationProcessor(deps.lombok)
|
||||
compileOnly(deps.lombok)
|
||||
implementation(deps.logger.api)
|
||||
}
|
||||
wrapper {
|
||||
gradleVersion = "8.10"
|
||||
distributionType = Wrapper.DistributionType.BIN
|
||||
}
|
||||
|
||||
compileJava {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
group = "ru.di9.mirror"
|
||||
version = "1.1-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
ext {
|
||||
lombokVersion = "1.18.34"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Lombok
|
||||
annotationProcessor("org.projectlombok:lombok:$lombokVersion")
|
||||
compileOnly("org.projectlombok:lombok:$lombokVersion")
|
||||
|
||||
// Spring Boot Web
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
|
||||
// Other
|
||||
implementation("org.apache.httpcomponents.client5:httpclient5:5.5")
|
||||
implementation("commons-io:commons-io:2.14.0")
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "ru.di9.mirror.Application"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user