This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move root project code into subproject start.xenit.eu
- Loading branch information
Showing
172 changed files
with
76 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,12 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.springframework.boot' version '2.1.4.RELEASE' | ||
id 'eu.xenit.docker' version '4.0.3' | ||
id 'idea' | ||
id 'org.springframework.boot' version '2.1.4.RELEASE' apply false | ||
} | ||
|
||
apply plugin: 'io.spring.dependency-management' | ||
|
||
allprojects { | ||
group = 'eu.xenit.alfred' | ||
version = '0.0.2-SNAPSHOT' | ||
} | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
ext { | ||
springInitializrVersion = '0.8.0.BUILD-SNAPSHOT' | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
|
||
maven { url "https://repo.spring.io/snapshot" } | ||
maven { url "https://repo.spring.io/milestone" } | ||
maven { url "https://repo.spring.io/release" } | ||
} | ||
|
||
bootRun { | ||
jvmArgs = ["-Dspring.output.ansi.enabled=ALWAYS"] | ||
} | ||
|
||
configurations { | ||
developmentOnly | ||
runtimeClasspath { | ||
extendsFrom developmentOnly | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation('org.springframework.boot:spring-boot-starter-web') | ||
implementation('org.springframework.boot:spring-boot-starter-actuator') | ||
|
||
implementation("io.spring.initializr:initializr-web:${springInitializrVersion}") { | ||
exclude group: "io.spring.initializr", module:"initializr-generator-spring" | ||
} | ||
|
||
implementation project(':initializr-generator-beans-xml-config') | ||
implementation('org.springframework.boot:spring-boot-devtools') | ||
|
||
compileOnly 'org.projectlombok:lombok' | ||
annotationProcessor 'org.projectlombok:lombok' | ||
testCompileOnly 'org.projectlombok:lombok' | ||
testAnnotationProcessor 'org.projectlombok:lombok' | ||
|
||
developmentOnly("org.springframework.boot:spring-boot-devtools") | ||
|
||
testImplementation('org.springframework.boot:spring-boot-starter-test') | ||
testImplementation("io.spring.initializr:initializr-generator-test:${springInitializrVersion}") | ||
} | ||
|
||
test { | ||
|
||
} | ||
|
||
dockerFile { | ||
dockerFile = file('Dockerfile') | ||
dockerBuild { | ||
repository = 'hub.xenit.eu/start.xenit.eu' | ||
tags = [ project.version ] | ||
automaticTags = true | ||
} | ||
} | ||
|
||
buildDockerImage { | ||
dependsOn(bootJar) | ||
buildArgs = [ | ||
'JAR_FILE': "build/libs/${tasks.bootJar.getArchiveName()}" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ rootProject.name = 'start.xenit.eu' | |
|
||
include 'initializr-generator-beans-xml-config' | ||
|
||
include 'start.xenit.eu' |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.springframework.boot' | ||
id 'io.spring.dependency-management' | ||
id 'eu.xenit.docker' version '4.0.3' | ||
id 'idea' | ||
} | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
repositories { | ||
mavenCentral() | ||
|
||
maven { url "https://repo.spring.io/snapshot" } | ||
maven { url "https://repo.spring.io/milestone" } | ||
maven { url "https://repo.spring.io/release" } | ||
} | ||
|
||
bootRun { | ||
jvmArgs = ["-Dspring.output.ansi.enabled=ALWAYS"] | ||
} | ||
|
||
configurations { | ||
developmentOnly | ||
runtimeClasspath { | ||
extendsFrom developmentOnly | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation('org.springframework.boot:spring-boot-starter-web') | ||
implementation('org.springframework.boot:spring-boot-starter-actuator') | ||
|
||
implementation("io.spring.initializr:initializr-web:${springInitializrVersion}") { | ||
exclude group: "io.spring.initializr", module:"initializr-generator-spring" | ||
} | ||
|
||
implementation project(':initializr-generator-beans-xml-config') | ||
implementation('org.springframework.boot:spring-boot-devtools') | ||
|
||
compileOnly 'org.projectlombok:lombok' | ||
annotationProcessor 'org.projectlombok:lombok' | ||
testCompileOnly 'org.projectlombok:lombok' | ||
testAnnotationProcessor 'org.projectlombok:lombok' | ||
|
||
developmentOnly("org.springframework.boot:spring-boot-devtools") | ||
|
||
testImplementation('org.springframework.boot:spring-boot-starter-test') | ||
testImplementation("io.spring.initializr:initializr-generator-test:${springInitializrVersion}") | ||
} | ||
|
||
test { | ||
|
||
} | ||
|
||
dockerFile { | ||
dockerFile = file('Dockerfile') | ||
dockerBuild { | ||
repository = 'hub.xenit.eu/start.xenit.eu' | ||
tags = [ project.version ] | ||
automaticTags = true | ||
} | ||
} | ||
|
||
buildDockerImage { | ||
dependsOn(bootJar) | ||
buildArgs = [ | ||
'JAR_FILE': "build/libs/${tasks.bootJar.getArchiveName()}" | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.