Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26be6b28 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

correct android api number in gradle

parent e9a1347e
Loading
Loading
Loading
Loading
Loading
+5 −16
Original line number Diff line number Diff line
buildscript {
    /*repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }*/
}
import java.text.SimpleDateFormat;
apply plugin: 'com.android.application'
//apply plugin: 'io.fabric'
def versionMajor = 1

def buildTime() {
@@ -20,13 +11,11 @@ def buildTime() {


android {
    compileSdkVersion 26
    compileSdkVersion 25
    defaultConfig {
        applicationId "io.eelo.drive"
        minSdkVersion 25
        targetSdkVersion 26
        minSdkVersion 24
        versionCode 1
        //versionName "1.0"
        versionName "alpha-${versionMajor}-build-${buildTime()}"
        setProperty("archivesBaseName", "$applicationId.$versionName")

@@ -52,8 +41,9 @@ repositories {
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:support-v4:25'
    implementation 'com.android.support:appcompat-v7:25.0.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test:rules:1.0.2'
@@ -61,5 +51,4 @@ dependencies {
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    api 'com.github.nextcloud:android-library:1.1.0'
    api 'com.android.support:support-annotations:27.1.1'

}
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ http://www.gnu.org/licenses/gpl.html
            android:enabled="true"
            android:exported="true">
            <intent-filter>
                <action android:name="drive.services.InitializerService" /> <!-- @TODO replace initializer by Initializer and ask Nihar to report the change to accountManager -->
                <action android:name="drive.services.InitializerService" />
            </intent-filter>
        </service>