.
This commit is contained in:
parent
b1db249959
commit
f4c409edcb
2 changed files with 12 additions and 8 deletions
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
|
|
@ -19,6 +19,8 @@ jobs:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
- name: Create Properties File
|
||||||
|
run: touch local.properties
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ android {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
def propertiesFile = rootProject.file("local.properties")
|
def propertiesFile = rootProject.file("local.properties")
|
||||||
|
if(propertiesFile.text != ""){
|
||||||
properties.load(new FileInputStream(propertiesFile))
|
properties.load(new FileInputStream(propertiesFile))
|
||||||
|
|
||||||
properties.load(new FileInputStream(propertiesFile))
|
properties.load(new FileInputStream(propertiesFile))
|
||||||
|
|
@ -26,6 +27,7 @@ android {
|
||||||
keyPassword properties["signingConfig.keyPassword"]
|
keyPassword properties["signingConfig.keyPassword"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}catch(IOException ignored){}
|
}catch(IOException ignored){}
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.deniscerri.ytdl"
|
applicationId "com.deniscerri.ytdl"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue