Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
Define versions in build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennestuder committed Jan 11, 2019
1 parent ca5d70c commit e9cb146
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 28 deletions.
27 changes: 8 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
// todo use plugins{} block
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2" }
}
dependencies {
classpath "nu.studer:gradle-plugindev-plugin:$plugindevPluginVersion"
classpath "nu.studer:gradle-credentials-plugin:$credentialsPluginVersion"
classpath "com.gradle:build-scan-plugin:$buildScanPluginVersion"
}
plugins {
id 'com.gradle.build-scan' version '1.16'
id 'nu.studer.plugindev' version '1.0.12'
id 'nu.studer.credentials' version '1.0.4'
id 'groovy'
}

apply plugin: 'com.gradle.build-scan'
apply plugin: 'groovy'
apply plugin: 'nu.studer.plugindev'
apply plugin: 'nu.studer.credentials'

group = 'nu.studer'
version = '1.0.5-DEV'

Expand All @@ -25,9 +14,9 @@ buildScan {
}

dependencies {
compile "nu.studer:java-ordered-properties:$orderedPropertiesVersion"
compile "commons-codec:commons-codec:$commonsCodecVersion"
testCompile "junit:junit:$junitVersion"
compile "nu.studer:java-ordered-properties:1.0.1"
compile "commons-codec:commons-codec:1.11"
testCompile "junit:junit:4.12"
}

plugindev {
Expand Down
12 changes: 3 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# plugin dependency versions
plugindevPluginVersion=1.0.6
credentialsPluginVersion=1.0.4
buildScanPluginVersion=1.6

# compile/runtime dependency versions
orderedPropertiesVersion = 1.0.1
commonsCodecVersion=1.4
junitVersion=4.12
org.gradle.caching=true
org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8
org.gradle.workers.max=3

0 comments on commit e9cb146

Please sign in to comment.