Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build-debug-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build debug apk
uses: eskatos/gradle-command-action@v2.1.5
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1.0.4

- name: Build with gradle
uses: gradle/gradle-build-action@v2.1.5
with:
arguments: assembleDebug
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true

- name: Upload debug apk
uses: actions/upload-artifact@v3
with:
name: debug
path: app/build/outputs/apk/debug
path: app/build/outputs/apk/debug
12 changes: 6 additions & 6 deletions .github/workflows/build-release-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build release apk
uses: eskatos/gradle-command-action@v2.1.5
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1.0.4

- name: Build with gradle
uses: gradle/gradle-build-action@v2.1.5
with:
arguments: assembleRelease
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true

- name: Push tag
run: |
Expand All @@ -43,4 +43,4 @@ jobs:
name: ${{ github.event.input.version }}
tag_name: "v${{ github.event.inputs.version }}"
target_commitish: ${{ env.TARGET_COMMITISH }}
files: app/build/outputs/apk/release/app-release.apk
files: app/build/outputs/apk/release/app-release.apk
27 changes: 4 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,4 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/.gradle
/.idea
/*/build
/build
11 changes: 7 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,32 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
// buildToolsVersion '33.0.0 rc1'
defaultConfig {
applicationId "com.ratul.topactivity"
minSdkVersion 14
targetSdkVersion 25
minSdkVersion 24
targetSdkVersion 33
versionCode 15
versionName "1.5.5"
}

buildTypes {
release {
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
minifyEnabled true
shrinkResources true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
// todo : use AndroidX
implementation 'com.android.support:support-v4:25.4.0'
}
10 changes: 0 additions & 10 deletions app/build.json

This file was deleted.

10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.android.tools.build:gradle:7.1.2'
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Mon Aug 30 15:20:07 CST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
185 changes: 185 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading