mirror of
				https://github.com/MinimalBible/MinimalBible
				synced 2025-11-03 18:10:27 -05:00 
			
		
		
		
	Also add in the gradle build for flavors to variants
This commit is contained in:
		@ -2,12 +2,8 @@ buildscript {
 | 
				
			|||||||
    repositories {
 | 
					    repositories {
 | 
				
			||||||
        mavenCentral()
 | 
					        mavenCentral()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    dependencies {
 | 
					 | 
				
			||||||
        classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
apply plugin: 'android-sdk-manager'
 | 
					 | 
				
			||||||
apply plugin: 'com.android.application'
 | 
					apply plugin: 'com.android.application'
 | 
				
			||||||
apply plugin: 'kotlin-android'
 | 
					apply plugin: 'kotlin-android'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -39,18 +35,6 @@ android {
 | 
				
			|||||||
        exclude 'NOTICE'
 | 
					        exclude 'NOTICE'
 | 
				
			||||||
        exclude 'asm-license.txt'
 | 
					        exclude 'asm-license.txt'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    productFlavors {
 | 
					 | 
				
			||||||
        testConfig {
 | 
					 | 
				
			||||||
            minSdkVersion 8
 | 
					 | 
				
			||||||
            applicationId 'org.bspeice.minimalbible'
 | 
					 | 
				
			||||||
            targetSdkVersion 20
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        mainConfig {
 | 
					 | 
				
			||||||
            minSdkVersion 8
 | 
					 | 
				
			||||||
            applicationId 'org.bspeice.minimalbible'
 | 
					 | 
				
			||||||
            targetSdkVersion 20
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    sourceSets {
 | 
					    sourceSets {
 | 
				
			||||||
        main.java.srcDirs += 'src/main/kotlin'
 | 
					        main.java.srcDirs += 'src/main/kotlin'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -78,7 +62,7 @@ dependencies {
 | 
				
			|||||||
    androidTestCompile 'org.mockito:mockito-core:+'
 | 
					    androidTestCompile 'org.mockito:mockito-core:+'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Email debug reports if I crash...
 | 
					    // Email debug reports if I crash...
 | 
				
			||||||
    testConfigCompile('ch.acra:acra:+') {
 | 
					    debugCompile('ch.acra:acra:+') {
 | 
				
			||||||
        exclude module: 'json'
 | 
					        exclude module: 'json'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user