aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/settings.gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-07-25 22:01:32 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-07-29 10:12:04 +0530
commitf699d9cf9af51c296590732bcc98f50949f37098 (patch)
tree14008b4c9747a41c41db0a1b06e240d5909efd84 /settings.gradle
parentgradle: upgrade to AGP 7.0.0 (diff)
downloadwireguard-android-f699d9cf9af51c296590732bcc98f50949f37098.tar.xz
wireguard-android-f699d9cf9af51c296590732bcc98f50949f37098.zip
build: switch to modern plugin application layout
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle20
1 files changed, 20 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle
index 7c707e3..0e89ece 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,8 +1,28 @@
pluginManagement {
+ def agpVersion = "7.0.0"
+ def kotlinVersion = "1.5.21"
repositories {
gradlePluginPortal()
+ google()
+ mavenCentral()
+ }
+ plugins {
+ id("com.android.application") version "$agpVersion"
+ id("com.android.library") version "$agpVersion"
+ id("org.jetbrains.kotlin.android") version "$kotlinVersion"
+ id("org.jetbrains.kotlin.kapt") version "$kotlinVersion"
+ }
+}
+
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
mavenCentral()
}
}
+
+rootProject.name = "wireguard-android"
+
include ':tunnel'
include ':ui'