Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1280 I'm refreshing some of the dependencies of the project, here doing AGP to 8.0.1. I'm also removing the older publishing plugin as we're most likely going to use Gradle's default publishing + another plugin to manage the nexus interactions (the same we use on React Native). I'm also doing some changes on the JDK side: - Bumps the JDK version to 17 as that's required by AGP - Bumps the source/target version to JDK 8. JDK 7 is long deprecated and we're getting a lot of warnings for it on console. Users should be on JDK 11 already by now, but 8 is also good enough. Reviewed By: passy Differential Revision: D45564575 fbshipit-source-id: ffe1cc15892659923177a2cad609d5d30f8249ac
43 lines
1.0 KiB
Groovy
43 lines
1.0 KiB
Groovy
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.0.1'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
ext {
|
|
buildToolsVersion = "33.0.0"
|
|
ndkVersion = "23.1.7779620" // Corresponds to AGP 7.3
|
|
cmakeVersion = "3.18.1+"
|
|
minSdkVersion = 21
|
|
compileSdkVersion = 33
|
|
targetSdkVersion = 33
|
|
sourceCompatibilityVersion = JavaVersion.VERSION_1_8
|
|
targetCompatibilityVersion = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|