mirror of
https://github.com/github/codeql.git
synced 2026-06-22 21:27:04 +02:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional. I kept the platform-specific directories around under `kotlin`, but you could also easily merge all these together if you find them unhelpful. I'll leave that change to you.
63 lines
1.6 KiB
Groovy
63 lines
1.6 KiB
Groovy
/**
|
|
* The first line in the build configuration applies the Android Gradle plugin
|
|
* to this build and makes the android block available to specify
|
|
* Android-specific build options.
|
|
*/
|
|
|
|
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
/**
|
|
* The android block is where you configure all your Android-specific
|
|
* build options.
|
|
*/
|
|
|
|
android {
|
|
|
|
/**
|
|
* The app's namespace. Used primarily to access app resources.
|
|
*/
|
|
|
|
namespace 'com.github.androidsample'
|
|
|
|
/**
|
|
* compileSdk specifies the Android API level Gradle should use to
|
|
* compile your app. This means your app can use the API features included in
|
|
* this API level and lower.
|
|
*/
|
|
|
|
compileSdk 33
|
|
|
|
/**
|
|
* The defaultConfig block encapsulates default settings and entries for all
|
|
* build variants and can override some attributes in main/AndroidManifest.xml
|
|
* dynamically from the build system. You can configure product flavors to override
|
|
* these values for different versions of your app.
|
|
*/
|
|
|
|
defaultConfig {
|
|
|
|
// Uniquely identifies the package for publishing.
|
|
applicationId 'com.github.androidsample'
|
|
|
|
// Defines the minimum API level required to run the app.
|
|
minSdk 21
|
|
|
|
// Specifies the API level used to test the app.
|
|
targetSdk 33
|
|
|
|
// Defines the version number of your app.
|
|
versionCode 1
|
|
|
|
// Defines a user-friendly version name for your app.
|
|
versionName "1.0"
|
|
}
|
|
|
|
variantFilter { variant -> if (variant.buildType.name == "debug") { setIgnore(true) } }
|
|
|
|
lintOptions {
|
|
disable "Instantiatable"
|
|
}
|
|
}
|