diff --git a/build.gradle-template b/build.gradle-template index 60ec7c9..638c953 100644 --- a/build.gradle-template +++ b/build.gradle-template @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version "1.0.2" + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/bulletin-board-client/build.gradle b/bulletin-board-client/build.gradle index 03c395a..8f00228 100644 --- a/bulletin-board-client/build.gradle +++ b/bulletin-board-client/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/bulletin-board-server/build.gradle b/bulletin-board-server/build.gradle index 1606ef8..bb28fb8 100644 --- a/bulletin-board-server/build.gradle +++ b/bulletin-board-server/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' id 'org.akhikhl.gretty' version "1.2.4" } diff --git a/distributed-key-generation/build.gradle b/distributed-key-generation/build.gradle index c90a15a..6befbc4 100644 --- a/distributed-key-generation/build.gradle +++ b/distributed-key-generation/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 864f396..7047800 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-all.zip -distributionSha256Sum=4647967f8de78d6d6d8093cdac50f368f8c2b8038f41a5afe1c3bce4c69219a9 +distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip +distributionSha256Sum=43be380834a13e28e9504c21f67fe1a8895ab54f314a6596601896dca7213482 diff --git a/meerkat-common/build.gradle b/meerkat-common/build.gradle index 6bf5ad7..896a547 100644 --- a/meerkat-common/build.gradle +++ b/meerkat-common/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/mixer/build.gradle b/mixer/build.gradle index ba26598..2dab24c 100644 --- a/mixer/build.gradle +++ b/mixer/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/polling-station/build.gradle b/polling-station/build.gradle index 68aad49..2f73721 100644 --- a/polling-station/build.gradle +++ b/polling-station/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/restful-api-common/build.gradle b/restful-api-common/build.gradle index 3c0ad1e..a9c80b9 100644 --- a/restful-api-common/build.gradle +++ b/restful-api-common/build.gradle @@ -1,7 +1,7 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java' diff --git a/versionup.pl b/versionup.pl new file mode 100755 index 0000000..21cfab4 --- /dev/null +++ b/versionup.pl @@ -0,0 +1,21 @@ +#!/usr/bin/perl -i.orig + +# Plugins and their latest versions +$plugins = { + 'com.google.protobuf' => '0.8.0', + 'us.kirchmeier.capsule' => '1.0.2', +}; + +while (<>) { + for $plugin (keys %$plugins) { + my $ver = $plugins->{$plugin}; + s/^(\s*id\s*[\'\"]\Q$plugin\E[\'\"]\s*version\s*)\S+/${1}'$ver'/i; + } + print; +} + + + + + + diff --git a/voting-booth/build.gradle b/voting-booth/build.gradle index 544f0b4..0920359 100644 --- a/voting-booth/build.gradle +++ b/voting-booth/build.gradle @@ -1,6 +1,6 @@ plugins { - id "us.kirchmeier.capsule" version "1.0.1" - id 'com.google.protobuf' version '0.7.0' + id "us.kirchmeier.capsule" version '1.0.2' + id 'com.google.protobuf' version '0.8.0' } apply plugin: 'java'