Download File
Download Project
Settings
Line Wrap
Themes
default
ambiance
bespin
dracula
eclipse
material
mbo
mdn-like
neat
solarized dark
ttcn
zenburn
build.gradle
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ apply plugin: 'com.android.feature' android { compileSdkVersion rootProject.compileSdk buildToolsVersion rootProject.buildTools defaultConfig { minSdkVersion rootProject.minSdk targetSdkVersion rootProject.compileSdk versionCode rootProject.versionCode versionName rootProject.versionName } flavorDimensions "version" productFlavors { playServices { // Demonstrates usage of the Cookie API with APILevel < 26 dimension "version" } framework { dimension "version" // Demonstrates usage of the Cookie API with APILevel >= 26 minSdkVersion 26 } } buildTypes { release {} debug {} } baseFeature true } dependencies { application project(":installed") feature project(':features:cookie') api "com.android.support:appcompat-v7:${rootProject.supportLib}" // This library has to be in the base module for now until a bug with manifest merging is fixed. playServicesApi('com.google.android.gms:play-services-instantapps:11.4.0') { exclude group: 'com.android.support' } }