From 4007e36b7fb0963fe51ea2ea2fe5aaa93ad9917c Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 2 Jul 2017 17:27:18 -0700 Subject: Move git versioning --- .idea/misc.xml | 2 +- app/build.gradle | 4 +--- build.gradle | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 7319f021..085136f8 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -53,7 +53,7 @@ - + diff --git a/app/build.gradle b/app/build.gradle index 6c4f05bf..99010de6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,5 @@ -import org.eclipse.jgit.api.Git -import org.eclipse.jgit.storage.file.FileRepositoryBuilder - plugins { + id "com.zoltu.git-versioning" version "3.0.3" id 'com.gladed.androidgitversion' version '0.3.4' } diff --git a/build.gradle b/build.gradle index f0daea0d..ac155d03 100644 --- a/build.gradle +++ b/build.gradle @@ -4,14 +4,12 @@ buildscript { repositories { jcenter() maven { url 'https://maven.fabric.io/public' } - maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:2.3.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN}" classpath 'io.fabric.tools:gradle:1.+' classpath 'com.github.triplet.gradle:play-publisher:1.2.0' - classpath "gradle.plugin.com.zoltu.gradle.plugin:git-versioning:3.0.3" //https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit // classpath 'org.eclipse.jgit:org.eclipse.jgit:4.8.0.201706111038-r' } -- cgit v1.2.3