Skip to content
Snippets Groups Projects
Commit ad657de9 authored by Jawnnypoo's avatar Jawnnypoo
Browse files

Only apply fabric plugin if fabric key is found

parent 83ae4e0b
No related branches found
No related tags found
No related merge requests found
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.21.7'
}
}
repositories {
maven { url 'https://maven.fabric.io/public' }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.neenbedankt.android-apt'
if (project.hasProperty("LABCOAT_FABRIC_KEY")) {
System.out.println("Has fabric key. Enabling fabric plugin")
apply plugin: 'io.fabric'
} else {
System.out.println("No fabric key found. Disabling fabric plugin")
}
 
def versionMajor = 2
def versionMinor = 2
Loading
Loading
Loading
Loading
@@ -3,21 +3,18 @@ apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
//check with ./gradlew dependencyUpdates
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
classpath 'io.fabric.tools:gradle:1.21.7'
}
}
 
allprojects {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
}
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment