mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
Updating gradle configuration
Change-Id: I77c6ba057c751123bb40862a94a0027b7e0c87ef
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.launcher3">
|
||||
<uses-sdk android:targetSdkVersion="23" android:minSdkVersion="21"/>
|
||||
|
||||
<!--
|
||||
The manifest defines the common entries that should be present in any derivative of Launcher3.
|
||||
|
||||
50
build.gradle
50
build.gradle
@@ -1,14 +1,16 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.3.3'
|
||||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.0'
|
||||
classpath 'com.android.tools.build:gradle:3.2.0-alpha12'
|
||||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
|
||||
}
|
||||
}
|
||||
|
||||
final String SUPPORT_LIBS_VERSION = '28.0.0-SNAPSHOT'
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'com.google.protobuf'
|
||||
|
||||
@@ -23,6 +25,7 @@ android {
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
buildTypes {
|
||||
debug {
|
||||
@@ -30,18 +33,28 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
flavorDimensions "default"
|
||||
|
||||
productFlavors {
|
||||
aosp {
|
||||
dimension "default"
|
||||
applicationId 'com.android.launcher3'
|
||||
testApplicationId 'com.android.launcher3.tests'
|
||||
}
|
||||
|
||||
l3go {
|
||||
dimension "default"
|
||||
applicationId 'com.android.launcher3'
|
||||
testApplicationId 'com.android.launcher3.tests'
|
||||
}
|
||||
|
||||
quickstep {
|
||||
dimension "default"
|
||||
applicationId 'com.android.launcher3'
|
||||
testApplicationId 'com.android.launcher3.tests'
|
||||
}
|
||||
@@ -98,27 +111,28 @@ android {
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url "../../../prebuilts/fullsdk-darwin/extras/android/m2repository" }
|
||||
maven { url "../../../prebuilts/fullsdk-linux/extras/android/m2repository" }
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
|
||||
final String SUPPORT_LIBS_VERSION = '28.0.0-SNAPSHOT'
|
||||
dependencies {
|
||||
compile "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
|
||||
compile "com.android.support:support-dynamic-animation:${SUPPORT_LIBS_VERSION}"
|
||||
compile "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
|
||||
compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
|
||||
implementation "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
|
||||
implementation "com.android.support:support-dynamic-animation:${SUPPORT_LIBS_VERSION}"
|
||||
implementation "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
|
||||
implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
|
||||
|
||||
quickstepCompile fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
|
||||
quickstepImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
androidTestCompile "org.mockito:mockito-core:1.9.5"
|
||||
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
|
||||
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
|
||||
androidTestCompile 'com.android.support.test:runner:1.0.0'
|
||||
androidTestCompile 'com.android.support.test:rules:1.0.0'
|
||||
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
|
||||
androidTestCompile "com.android.support:support-annotations:${SUPPORT_LIBS_VERSION}"
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation "org.mockito:mockito-core:1.9.5"
|
||||
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2'
|
||||
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.0'
|
||||
androidTestImplementation 'com.android.support.test:rules:1.0.0'
|
||||
androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
|
||||
androidTestImplementation "com.android.support:support-annotations:${SUPPORT_LIBS_VERSION}"
|
||||
}
|
||||
|
||||
protobuf {
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.launcher3" >
|
||||
|
||||
<uses-sdk android:targetSdkVersion="23" android:minSdkVersion="21"/>
|
||||
|
||||
<uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
|
||||
<application
|
||||
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.launcher3.tests">
|
||||
|
||||
<uses-sdk android:targetSdkVersion="25" android:minSdkVersion="21"/>
|
||||
|
||||
<application android:debuggable="true">
|
||||
<uses-library android:name="android.test.runner" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user