summaryrefslogtreecommitdiffhomepage
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
parentae00e8ce6e07bf053d3ac47888762c44965aa491 (diff)
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 7c707e32..0e89ecec 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'