mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2025-06-30 23:08:00 +02:00
Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
44acda139c | |||
6b57541b03 | |||
8bf10927c0 | |||
976d40e0ce | |||
940ae46d2d | |||
a627b22ed1 | |||
c87f712d90 | |||
566163a622 | |||
57a18b0013 | |||
44f4237da5 | |||
21ef331b16 | |||
4d12af0249 | |||
150c293690 | |||
405ab9cbda | |||
bf38143b46 | |||
1d26a338c5 |
@ -54,24 +54,33 @@ jobs:
|
||||
- restore_cache:
|
||||
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
|
||||
- run:
|
||||
command: sudo echo $GPG_KEY_CONTENTS | base64 -d > /secret.gpg
|
||||
name: Build Library
|
||||
command: ./gradlew :treedatastructure:assembleRelease
|
||||
- run:
|
||||
name: Export key
|
||||
command: |
|
||||
mkdir treedatastructure/maven
|
||||
echo ${GPG_KEY_CONTENTS} | base64 -d --ignore-garbage > treedatastructure/maven/secret.gpg
|
||||
- run:
|
||||
name: Staging
|
||||
command: ./gradlew treedatastructure:publishReleasePublicationToSonatypeRepository
|
||||
command: ./gradlew :treedatastructure:publishReleasePublicationToSonatypeRepository
|
||||
- run:
|
||||
name: Release Library
|
||||
command: ./gradlew closeAndReleaseRepository
|
||||
|
||||
workflows:
|
||||
version: 2.1
|
||||
build-and-deploy:
|
||||
jobs:
|
||||
- build
|
||||
- build:
|
||||
filters: # required since `deploy` has tag filters AND requires `build`
|
||||
tags:
|
||||
only: /.*/
|
||||
- deploy:
|
||||
requires:
|
||||
- build
|
||||
filters:
|
||||
tags:
|
||||
only:
|
||||
- /.*/
|
||||
only: /^v[0-9]{1,3}\.[0-9]{1,3}\.?[0-9]{0,3}$/
|
||||
branches:
|
||||
only:
|
||||
- release
|
||||
- master
|
||||
ignore: /.*/
|
@ -1,5 +1,5 @@
|
||||
# Tree (Data Structure)
|
||||
[](https://mvnrepository.com/artifact/com.github.adriankuta/tree-structure)
|
||||
[](https://search.maven.org/artifact/com.github.adriankuta/tree-structure)
|
||||
[](https://github.com/AdrianKuta/Design-Patterns-Kotlin/blob/master/LICENSE)
|
||||
[](https://circleci.com/gh/AdrianKuta/Tree-Data-Structure)
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
afterEvaluate {
|
||||
generateReleaseBuildConfig.enabled = false
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion "29.0.2"
|
||||
@ -10,7 +15,7 @@ android {
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 29
|
||||
versionCode 1
|
||||
versionName "1.0.3"
|
||||
versionName "1.0.4"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
|
Reference in New Issue
Block a user