xref: /aosp_15_r20/developers/build/prebuilts/gradle/MultiWindowPlayground/Application/build.gradle (revision d353a188ca6ec4b5eba25b5fbd7bcb8ce61322fb)
1*d353a188SXin Li/*
2*d353a188SXin Li * Copyright (C) 2016 The Android Open Source Project
3*d353a188SXin Li *
4*d353a188SXin Li * Licensed under the Apache License, Version 2.0 (the "License");
5*d353a188SXin Li * you may not use this file except in compliance with the License.
6*d353a188SXin Li * You may obtain a copy of the License at
7*d353a188SXin Li *
8*d353a188SXin Li *       http://www.apache.org/licenses/LICENSE-2.0
9*d353a188SXin Li *
10*d353a188SXin Li * Unless required by applicable law or agreed to in writing, software
11*d353a188SXin Li * distributed under the License is distributed on an "AS IS" BASIS,
12*d353a188SXin Li * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*d353a188SXin Li * See the License for the specific language governing permissions and
14*d353a188SXin Li * limitations under the License.
15*d353a188SXin Li */
16*d353a188SXin Li
17*d353a188SXin Libuildscript {
18*d353a188SXin Li    repositories {
19*d353a188SXin Li        jcenter()
20*d353a188SXin Li    }
21*d353a188SXin Li
22*d353a188SXin Li    dependencies {
23*d353a188SXin Li        classpath 'com.android.tools.build:gradle:3.0.0'
24*d353a188SXin Li    }
25*d353a188SXin Li}
26*d353a188SXin Li
27*d353a188SXin Liallprojects {
28*d353a188SXin Li    repositories {
29*d353a188SXin Li        jcenter()
30*d353a188SXin Li    }
31*d353a188SXin Li}
32*d353a188SXin Li
33*d353a188SXin Liapply plugin: 'com.android.application'
34*d353a188SXin Li
35*d353a188SXin Liandroid {
36*d353a188SXin Li    compileSdkVersion 24
37*d353a188SXin Li    buildToolsVersion '23.0.3'
38*d353a188SXin Li
39*d353a188SXin Li    defaultConfig {
40*d353a188SXin Li        applicationId "com.android.multiwindowplayground"
41*d353a188SXin Li        minSdkVersion 24
42*d353a188SXin Li        targetSdkVersion 24
43*d353a188SXin Li        versionCode 1
44*d353a188SXin Li        versionName "1.0"
45*d353a188SXin Li        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
46*d353a188SXin Li
47*d353a188SXin Li    }
48*d353a188SXin Li    buildTypes {
49*d353a188SXin Li        release {
50*d353a188SXin Li            minifyEnabled false
51*d353a188SXin Li            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
52*d353a188SXin Li        }
53*d353a188SXin Li    }
54*d353a188SXin Li    compileOptions {
55*d353a188SXin Li        sourceCompatibility JavaVersion.VERSION_1_7
56*d353a188SXin Li        targetCompatibility JavaVersion.VERSION_1_7
57*d353a188SXin Li    }
58*d353a188SXin Li}
59*d353a188SXin Li
60*d353a188SXin Lidependencies {
61*d353a188SXin Li    compile fileTree(include: ['*.jar'], dir: 'libs')
62*d353a188SXin Li    testCompile 'junit:junit:4.12'
63*d353a188SXin Li    compile 'com.android.support:appcompat-v7:24.0.0-beta1'
64*d353a188SXin Li    androidTestCompile 'com.android.support:support-annotations:24.0.0-beta1'
65*d353a188SXin Li    androidTestCompile 'com.androidx.test.espresso:espresso-core:2.2.1'
66*d353a188SXin Li}
67