Added Translation

This commit is contained in:
2022-08-14 11:50:25 +08:00
parent 0534ac3f71
commit e8fd581394
32 changed files with 573 additions and 29 deletions

View File

@@ -17,11 +17,15 @@ android {
// Required when setting minSdkVersion to 20 or lower
multiDexEnabled true
Properties buildPro = loadBuildPro()
buildConfigField "String", "API_APP_ID", buildPro['apiAppId']
buildConfigField "String", "API_APP_SECRET", buildPro['apiAppSecret']
}
signingConfigs {
release {
Properties buildPro = buildSign()
Properties buildPro = loadBuildPro()
storeFile file(buildPro['storeFile'])
storePassword buildPro['storePassword']
keyAlias buildPro['keyAlias']
@@ -61,9 +65,9 @@ android {
namespace 'com.fatapp.oxygentoolbox'
}
def buildSign() {
def loadBuildPro() {
Properties buildProperties = new Properties()
buildProperties.load(new FileInputStream(file("../keystore.properties")))
buildProperties.load(new FileInputStream(file("../build.properties")))
return buildProperties
}
@@ -75,11 +79,12 @@ aboutLibraries {
~'androidx.*',
~'org.jetbrains.*',
~"com.google.android.*",
~"com.google.guava:listenablefuture"
~"com.google.guava:listenablefuture",
~"com.squareup.okio:okio-jvm"
]
}
task exportLibrariesToJson(group: 'build', description: 'Generate libraries definitions json file', type: com.mikepenz.aboutlibraries.plugin.AboutLibrariesTask, dependsOn:'collectDependencies') {
task exportLibrariesToJson(group: 'build', description: 'Generate libraries definitions json file', type: com.mikepenz.aboutlibraries.plugin.AboutLibrariesTask, dependsOn: 'collectDependencies') {
resultDirectory = project.file('src/main/res/raw/')
variant = 'release'
}
@@ -95,7 +100,7 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'androidx.appcompat:appcompat:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.preference:preference:1.2.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.1'
@@ -105,4 +110,5 @@ dependencies {
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.github.KilleTom:BangScreenToolsMaster:v1.0.0'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
}