app/build.gradle
author Frederic Barthelery <da_risk@beem-project.com>
Fri, 13 Nov 2015 18:15:37 +0100
changeset 1069 e47233095aab
parent 1053 757bdaef7d63
child 1071 af8866eba015
permissions -rw-r--r--
Switch to compileSdkVersion 23 Android Marshmallow !
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1040
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     1
apply plugin: 'com.android.application'
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     2
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     3
android {
1069
e47233095aab Switch to compileSdkVersion 23
Frederic Barthelery <da_risk@beem-project.com>
parents: 1053
diff changeset
     4
    compileSdkVersion 23
1040
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     5
    buildToolsVersion "22.0.0"
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     6
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     7
    defaultConfig {
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     8
        applicationId "com.beem.project.beem"
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
     9
        minSdkVersion 6
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    10
        targetSdkVersion 22
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    11
        versionCode 15
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    12
        versionName "0.1.8"
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    13
    }
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    14
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    15
    buildTypes {
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    16
        release {
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    17
            minifyEnabled false
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    18
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    19
        }
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    20
    }
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    21
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    22
    lintOptions {
1047
3918daca2c41 emove unused PrivacyList and fix some lint errors
Da Risk <da_risk@beem-project.com>
parents: 1046
diff changeset
    23
        abortOnError true
3918daca2c41 emove unused PrivacyList and fix some lint errors
Da Risk <da_risk@beem-project.com>
parents: 1046
diff changeset
    24
        textReport true
1051
4e7f5fd5c6e0 Just set a warning lint for invalid package
Da Risk <da_risk@beem-project.com>
parents: 1050
diff changeset
    25
        disable "MissingTranslation"
4e7f5fd5c6e0 Just set a warning lint for invalid package
Da Risk <da_risk@beem-project.com>
parents: 1050
diff changeset
    26
        warning "InvalidPackage"
1040
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    27
    }
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    28
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    29
}
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    30
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    31
dependencies {
1043
9b965359eaea OTR: Update to otr4j-0.22
Da Risk <da_risk@beem-project.com>
parents: 1042
diff changeset
    32
    compile fileTree(include: ['*.jar'], dir: 'libs')
1044
cd41ebc93e78 Move MemorizingTrustManager into its own module
Da Risk <da_risk@beem-project.com>
parents: 1043
diff changeset
    33
    compile project(":third_parties:memorizingtrustmanager")
1045
41c9aa696059 Move stroke to its own module
Da Risk <da_risk@beem-project.com>
parents: 1044
diff changeset
    34
    compile project(":third_parties:stroke")
1046
e7c2612c13b8 Move mms smileys into its own module
Da Risk <da_risk@beem-project.com>
parents: 1045
diff changeset
    35
    compile project(":third_parties:mmssmiley")
1053
757bdaef7d63 Use latest support library
Da Risk <da_risk@geekorum.com>
parents: 1052
diff changeset
    36
    compile 'com.android.support:support-v4:22.0.0'
1043
9b965359eaea OTR: Update to otr4j-0.22
Da Risk <da_risk@beem-project.com>
parents: 1042
diff changeset
    37
    compile 'org.jitsi:org.otr4j:0.22'
1040
197a85a35cba Move the app into an app submodule which respect the default gradle layout
Da Risk <da_risk@beem-project.com>
parents:
diff changeset
    38
}
1042
6ca974ea549b Add checkstyle configuration to gradle
Da Risk <da_risk@beem-project.com>
parents: 1040
diff changeset
    39
6ca974ea549b Add checkstyle configuration to gradle
Da Risk <da_risk@beem-project.com>
parents: 1040
diff changeset
    40
apply from: "$project.rootDir/tools/android-checkstyle.gradle"
1050
f2db8a101b9e Add gradle task to generate javadoc
Da Risk <da_risk@beem-project.com>
parents: 1049
diff changeset
    41
apply from: "$project.rootDir/tools/android-javadoc.gradle"