You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MpPreview/Application/build.gradle

63 lines
1.3 KiB
Groovy

8 months ago
buildscript {
repositories {
jcenter()
google()
8 months ago
mavenCentral()
8 months ago
}
dependencies {
8 months ago
classpath 'com.android.tools.build:gradle:7.2.1'
8 months ago
}
}
apply plugin: 'com.android.application'
repositories {
jcenter()
google()
8 months ago
mavenCentral()
8 months ago
}
dependencies {
8 months ago
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
8 months ago
}
// The sample build uses multiple directories to
// keep boilerplate and common code separate from
// the main sample code.
List<String> dirs = [
'main', // main sample code; look here for the interesting stuff.
'common', // components that are reused by multiple samples
'template'] // boilerplate code that is generated by the sample template process
android {
8 months ago
compileSdk 33
8 months ago
defaultConfig {
minSdkVersion 21
targetSdkVersion 27
}
compileOptions {
8 months ago
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
8 months ago
}
sourceSets {
main {
dirs.each { dir ->
java.srcDirs "src/${dir}/java"
res.srcDirs "src/${dir}/res"
}
}
androidTest.setRoot('tests')
androidTest.java.srcDirs = ['tests/src']
}
8 months ago
ndkVersion '26.1.10909125'
8 months ago
}