Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
artemcheremnov committed Dec 13, 2023
1 parent b68353d commit f970b7f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/android-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ env:
ANDROID_NEXUS_STAGING_PROFILE_ID: ${{ secrets.ANDROID_NEXUS_STAGING_PROFILE_ID }}
ANDROID_NEXUS_PRIVATE_KEY: ${{ secrets.ANDROID_NEXUS_PRIVATE_KEY }}
jobs:
# test-android-sdk:
# runs-on: ubuntu-latest
# steps:
# - name: Git clone repository
# uses: actions/checkout@v4
# # Setup java
# - uses: actions/setup-java@v3
# with:
# distribution: temurin
# java-version: ${{ env.JAVA_VERSION }}
# # Run test
# - name: Run Test
# run: ./gradlew test
test-android-sdk:
runs-on: ubuntu-latest
steps:
- name: Git clone repository
uses: actions/checkout@v4
# Setup java
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
# Run test
- name: Run Test
run: ./gradlew test

build-android-sdk:
runs-on: ubuntu-latest
# needs:
# - test-android-sdk
needs:
- test-android-sdk
steps:
- name: Git clone repository
uses: actions/checkout@v4
Expand Down
15 changes: 4 additions & 11 deletions VCL/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
defaultConfig {
minSdk 24
targetSdk 33
versionName "1.21.2"
versionName "1.21.3"
versionCode 116
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -106,8 +106,10 @@ afterEvaluate {
rc(MavenPublication) {
groupId getGroupId()
artifactId getArtifactId()

// define rc version name
def rc = getVersionName()
version = "${rc}-rc"
version = "${rc}-RC"

// Two artifacts, the `aar` (or `jar`) and the sources
if (project.plugins.findPlugin("com.android.library")) {
Expand Down Expand Up @@ -212,15 +214,6 @@ afterEvaluate {
}
}

// signing {
// useInMemoryPgpKeys(
// rootProject.ext.signingKeyId,
// rootProject.ext.signingPrivateKey,
// rootProject.ext.signingPassword,
// )
// sign publishing.publications
// }

repositories {
mavenCentral()
}
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ buildscript {

plugins {
// Automation plugin
// https://github.com/gradle-nexus/publish-plugin
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
}

Expand Down

0 comments on commit f970b7f

Please sign in to comment.