mirror of
https://github.com/IllusionMan1212/NPS-Browser.git
synced 2026-10-24 02:12:37 +00:00
* Add copy zrif button * Add zh-CN * Update zh-CN * Fix string * Update zh-CN * Downloading remove invalid characters * Update zh-cn and sdk version * Update dependencies * Move namespace * Support Asia game images * Update README.md * Restored * Update README.md
88 lines
3.1 KiB
Groovy
88 lines
3.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
id 'kotlin-parcelize'
|
|
id 'kotlin-kapt'
|
|
}
|
|
|
|
def keystoreProperties = new Properties()
|
|
def keystorePropertiesFile = rootProject.file('keystore.properties')
|
|
if (keystorePropertiesFile.exists()) {
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
}
|
|
|
|
android {
|
|
namespace 'com.illusionware.npsbrowser'
|
|
compileSdkVersion 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.illusionware.npsbrowser"
|
|
minSdkVersion 23
|
|
targetSdkVersion 33
|
|
versionCode 1
|
|
versionName "0.1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures {
|
|
dataBinding = true
|
|
viewBinding = true
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
keyAlias keystoreProperties['keyAlias']
|
|
keyPassword keystoreProperties['keyPassword']
|
|
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
|
storePassword keystoreProperties['storePassword']
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
signingConfig signingConfigs.release
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
buildToolsVersion '33.0.1'
|
|
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.6.0'
|
|
implementation 'androidx.core:core-ktx:1.9.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
|
|
implementation 'com.github.doyaaaaaken:kotlin-csv-jvm:1.8.0'
|
|
implementation 'com.github.wrdlbrnft:sorted-list-adapter:0.3.0.27'
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.14.2'
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
|
}
|