mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
39 lines
1 KiB
Groovy
39 lines
1 KiB
Groovy
// Copyright 2020, Collabora, Ltd.
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.4.10'
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
plugins {
|
|
// Used for getting the eigen dir from local.properties
|
|
id 'com.github.b3er.local.properties' version '1.1'
|
|
|
|
// For getting git describe data and formatting it how Android wants.
|
|
id "com.gladed.androidgitversion" version "0.4.13"
|
|
}
|
|
|
|
ext {
|
|
ndk_version = '21.3.6528147'
|
|
sharedTargetSdk = 30
|
|
sharedMinSdk = 26
|
|
|
|
// If you are building on Windows, you will need to explicitly set eigenIncludeDir in your
|
|
// local.properties file since the default value provided below only makes sense on *nix
|
|
eigenIncludeDir = project.findProperty('eigenIncludeDir') ?: '/usr/include/eigen3'
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|