app/build.gradle
author Da Risk <da_risk@beem-project.com>
Thu, 21 Dec 2017 15:56:42 -0800
changeset 1073 274f38e8c8a9
parent 1071 af8866eba015
permissions -rw-r--r--
Compile with sdk 27
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 {
1073
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
     4
    compileSdkVersion 27
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
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
    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
     7
        applicationId "com.beem.project.beem"
1073
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
     8
        minSdkVersion 14
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
     9
        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
    10
        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
    11
        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
    12
    }
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
    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
    15
        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
    16
            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
    17
            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
    18
        }
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
    lintOptions {
1047
3918daca2c41 emove unused PrivacyList and fix some lint errors
Da Risk <da_risk@beem-project.com>
parents: 1046
diff changeset
    22
        abortOnError true
3918daca2c41 emove unused PrivacyList and fix some lint errors
Da Risk <da_risk@beem-project.com>
parents: 1046
diff changeset
    23
        textReport true
1051
4e7f5fd5c6e0 Just set a warning lint for invalid package
Da Risk <da_risk@beem-project.com>
parents: 1050
diff changeset
    24
        disable "MissingTranslation"
4e7f5fd5c6e0 Just set a warning lint for invalid package
Da Risk <da_risk@beem-project.com>
parents: 1050
diff changeset
    25
        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
    26
    }
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
dependencies {
1073
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
    31
    implementation fileTree(include: ['*.jar'], dir: 'libs')
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
    32
    implementation project(":third_parties:memorizingtrustmanager")
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
    33
    implementation project(":third_parties:stroke")
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
    34
    implementation project(":third_parties:mmssmiley")
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
    35
    implementation 'com.android.support:support-v4:27.0.2'
274f38e8c8a9 Compile with sdk 27
Da Risk <da_risk@beem-project.com>
parents: 1071
diff changeset
    36
    implementation '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
    37
}
1042
6ca974ea549b Add checkstyle configuration to gradle
Da Risk <da_risk@beem-project.com>
parents: 1040
diff changeset
    38
6ca974ea549b Add checkstyle configuration to gradle
Da Risk <da_risk@beem-project.com>
parents: 1040
diff changeset
    39
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
    40
apply from: "$project.rootDir/tools/android-javadoc.gradle"