aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2023-06-15 16:21:27 -0400
committerAlan Viverette <alanv@google.com>2023-06-23 13:47:37 -0400
commit3a5d5836780120152cfade6a77ba233efbac5070 (patch)
tree9616287c91e46c840107fd83b39aaaad7dee1daf
parentc8e40a2e1c19535f84f008bebe7ff8d9420eaeba (diff)
downloadicing-3a5d5836780120152cfade6a77ba233efbac5070.tar.gz
Extract SDK config that varies downstream to Gradle properties
Also does a minor bit of refactoring to move global config items to extension properties on the project. This will help us keep things more organized in the future. Removes defaults from Icing build.gradle, since these get set by the AndroidX plugin. Bug: 287273074 Test: it builds Change-Id: Ie3e9ad9f76d5a4f5c84fbdb7ce66f0273482f9b3
-rw-r--r--build.gradle9
1 files changed, 0 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index a3aa34d..dde0637 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,8 +14,6 @@
* limitations under the License.
*/
-import androidx.build.SupportConfig
-
plugins {
id('AndroidXPlugin')
id('com.android.library')
@@ -23,13 +21,6 @@ plugins {
}
android {
- buildToolsVersion SupportConfig.buildToolsVersion(project)
- compileSdkVersion SupportConfig.COMPILE_SDK_VERSION
- defaultConfig {
- minSdkVersion SupportConfig.DEFAULT_MIN_SDK_VERSION
- targetSdkVersion SupportConfig.TARGET_SDK_VERSION
- testInstrumentationRunner SupportConfig.INSTRUMENTATION_RUNNER
- }
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8