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
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Deploy Release

on:
# Trigger the workflow on push action in develop branch
# Trigger the workflow on push action in main branch
# So it will trigger when the PR of the feature branch was merged.
push:
branches:
- main

jobs:
app_deploy:
name: Deploy and upload to JitPack
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Read version.properties
uses: madhead/read-java-properties@latest
- name: Extract version from version catalog
id: version
with:
file: version.properties
all: true
run: |
VERSION=$(grep '^libVersionName = ' gradle/libs.versions.toml | sed 's/libVersionName = "\(.*\)"/\1/')
echo "versionName=$VERSION" >> $GITHUB_OUTPUT

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
uses: softprops/action-gh-release@v2
with:
tag_name: '${{ steps.version.outputs.versionName }}'
release_name: 'Release ${{ steps.version.outputs.versionName }}'
name: 'Release ${{ steps.version.outputs.versionName }}'
draft: false
prerelease: false
11 changes: 6 additions & 5 deletions .github/workflows/review_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ jobs:
timeout-minutes: 30
steps:
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v5
with:
java-version: 1.8
distribution: 'temurin'
java-version: '17'

- name: Checkout source code
uses: actions/checkout@v2.3.2
uses: actions/checkout@v5

- name: Cache Gradle
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -44,7 +45,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3.4.6'
bundler-cache: true

- name: Run Danger to wrap up the review
Expand Down
138 changes: 81 additions & 57 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,50 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
activesupport (8.1.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
json
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.8)
public_suffix (>= 2.0.2, < 8.0)
ansi (1.5.0)
ast (2.4.2)
claide (1.0.3)
ast (2.4.3)
base64 (0.3.0)
bigdecimal (3.3.1)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
colored2 (3.1.2)
concurrent-ruby (1.3.5)
connection_pool (3.0.2)
cork (0.3.0)
colored2 (~> 3.1)
danger (8.4.0)
danger (9.5.3)
base64 (~> 0.2)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
colored2 (>= 3.1, < 5)
cork (~> 0.1)
faraday (>= 0.9.0, < 2.0)
faraday (>= 0.9.0, < 3.0)
faraday-http-cache (~> 2.0)
git (~> 1.7)
kramdown (~> 2.3)
git (>= 1.13, < 3.0)
kramdown (>= 2.5.1, < 3.0)
kramdown-parser-gfm (~> 1.0)
no_proxy_fix
octokit (~> 4.7)
terminal-table (>= 1, < 4)
danger-android_lint (0.0.9)
octokit (>= 4.0)
pstore (~> 0.1)
terminal-table (>= 1, < 5)
danger-android_lint (0.0.12)
danger-plugin-api (~> 1.0)
oga
danger-commit_lint (0.0.7)
Expand All @@ -35,66 +53,72 @@ GEM
danger-plugin-api (~> 1.0)
danger-plugin-api (1.0.0)
danger (> 2.0)
danger-shroud (0.0.3)
danger-shroud (2.0.0)
danger-plugin-api (~> 1.0)
nokogiri
faraday (1.8.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-http-cache (2.2.0)
drb (2.2.3)
faraday (2.14.0)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-http-cache (2.5.1)
faraday (>= 0.8)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
git (1.9.1)
faraday-net_http (3.4.2)
net-http (~> 0.5)
git (2.3.3)
activesupport (>= 5.0)
addressable (~> 2.8)
process_executer (~> 1.1)
rchardet (~> 1.8)
kramdown (2.3.1)
rexml
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.18.0)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
multipart-post (2.1.1)
logger (1.7.0)
minitest (5.27.0)
nap (1.1.0)
no_proxy_fix (0.1.2)
nokogiri (1.12.5-x86_64-darwin)
net-http (0.8.0)
uri (>= 0.11.1)
nokogiri (1.18.10-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.10-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-linux)
nokogiri (1.18.10-x86_64-linux-gnu)
racc (~> 1.4)
octokit (4.21.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
oga (3.3)
octokit (10.0.0)
faraday (>= 1, < 3)
sawyer (~> 0.9)
oga (3.4)
ast
ruby-ll (~> 2.1)
open4 (1.3.4)
public_suffix (4.0.6)
racc (1.5.2)
rchardet (1.8.0)
rexml (3.2.5)
ruby-ll (2.1.2)
process_executer (1.3.0)
pstore (0.2.0)
public_suffix (7.0.0)
racc (1.8.1)
rchardet (1.10.0)
rexml (3.4.4)
ruby-ll (2.1.4)
ansi
ast
ruby2_keywords (0.0.5)
sawyer (0.8.2)
sawyer (0.9.3)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.1.0)
faraday (>= 0.17.3, < 3)
securerandom (0.4.1)
terminal-table (4.0.0)
unicode-display_width (>= 1.1.1, < 4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)
uri (1.1.1)

PLATFORMS
arm64-darwin-24
universal-darwin-23
x86_64-darwin-19
x86_64-linux
Expand All @@ -107,4 +131,4 @@ DEPENDENCIES
danger-shroud

BUNDLED WITH
2.2.22
2.7.1
42 changes: 0 additions & 42 deletions app/build.gradle

This file was deleted.

53 changes: 53 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
}

android {
namespace = "co.nimblehq.extensions"

compileSdk = libs.versions.androidCompileSdk.get().toInt()

defaultConfig {
applicationId = "co.nimblehq.extensions"
minSdk = libs.versions.androidMinSdk.get().toInt()
targetSdk = libs.versions.androidTargetSdk.get().toInt()
versionCode = libs.versions.androidVersionCode.get().toInt()
versionName = libs.versions.androidVersionName.get()

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
}
}
}

dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)

testImplementation(libs.test.junit)
androidTestImplementation(libs.test.ext.junit)
androidTestImplementation(libs.test.espresso.core)
}
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="co.nimblehq.extensions">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down
25 changes: 0 additions & 25 deletions build.gradle

This file was deleted.

Loading