Roman Seleznov 2263b24c9f BAEL-764 Renaming Modules as per the review (#2371)
* Create pom.xml

Initial import

* First submit

* Second submit

* Different Types of Bean Injection in Spring

* Different Types of Bean Injection in Spring

* Added spring-core-di into the main build

* Revert "Create pom.xml"

This reverts commit 1bdc5443125df19575605f41ab28c9e8b6c69a32.

* BAEL-764 Automatic Property Expansion with Spring Boot

* BAEL-764 Automatic Property Expansion with Spring Boot

* BAEL-764 Automatic Property Expansion with Spring Boot

* BAEL-764 Automatic Property Expansion with Spring Boot
Make executable jars for property-exp-default project and use mvn exec:java to run property-exp-default project

* BAEL-764 Automatic Property Expansion with Spring Boot
Rename modules as per code reivew
2017-08-07 22:19:41 +02:00

55 lines
1.1 KiB
Groovy

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.2.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
group = 'com.baeldung'
version = '0.0.1-SNAPSHOT'
description = """spring-boot"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
springBoot {
executable = true
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
with copySpec {
from 'src/main/resources'
include '**/application*.yml'
include '**/application*.yaml'
include '**/application*.properties'
project.properties.findAll().each { prop ->
if (prop.value != null) {
filter(ReplaceTokens, tokens: [ (prop.key): prop.value])
filter(ReplaceTokens, tokens: [ ('project.' + prop.key): prop.value])
}
}
}
}
dependencies {
compile("org.springframework.boot:spring-boot-starter")
}