diff --git a/build.gradle b/build.gradle
index 8db196cb2..1d0ed1a4e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,9 +3,10 @@
 buildscript {
     repositories {
         jcenter()
+        google()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:3.0.1'
+        classpath 'com.android.tools.build:gradle:3.1.0'
     }
 }
 
@@ -20,13 +21,8 @@ repositories {
     maven {
         url "https://jitpack.io"
     }
-}
-
-allprojects {
-    repositories {
-        maven { url "https://jitpack.io" }
-        maven { url "https://maven.google.com" }
-        maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
+    maven {
+        url "https://oss.sonatype.org/content/repositories/snapshots"
     }
 }
 
@@ -40,7 +36,7 @@ ext {
 
 dependencies {
     implementation project(':libs:android-transcoder')
-    standardPushimplementation 'com.google.android.gms:play-services-gcm:11.8.0'
+    standardPushimplementation 'com.google.android.gms:play-services-gcm:12.0.1'
     implementation 'org.sufficientlysecure:openpgp-api:10.0'
     implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
     implementation 'org.bouncycastle:bcmail-jdk15on:1.58'
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index e9d3f771b..8ae73e4f5 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip