monado/build.gradle

42 lines
1.2 KiB
Groovy

// Copyright 2020, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
buildscript {
ext.kotlin_version = '1.4.10'
ext.latestAboutLibsRelease = "8.4.3"
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${latestAboutLibsRelease}"
}
}
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()
}
}