Skip to content

Commit

Permalink
Create git.properties using gradle-git-properties Gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Apr 11, 2016
1 parent fbc3bfa commit a3f3de3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ buildscript {
maven { url "http://repo.spring.io/libs-release" }
maven { url "http://repo.spring.io/libs-milestone" }
maven { url "http://repo.spring.io/snapshot" }
maven { url 'http://repo.spring.io/plugins-release' }
maven { url "http://repo.spring.io/plugins-release" }
maven { url "https://plugins.gradle.org/m2/" }
}

dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
classpath("org.springframework.build.gradle:propdeps-plugin:$propdepsPluginVersion")
classpath("gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:$gitPropertiesPluginVersion")
}
}

Expand All @@ -19,6 +21,7 @@ apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'propdeps'
apply plugin: 'com.gorylenko.gradle-git-properties'

sourceCompatibility = 1.8

Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
propdepsPluginVersion=0.0.7
gitPropertiesPluginVersion=1.4.16

#springBootVersion=1.4.0.M1
springBootVersion=1.4.0.BUILD-SNAPSHOT

0 comments on commit a3f3de3

Please sign in to comment.