16 Commits

Author SHA1 Message Date
44acda139c Fix CI 2020-01-10 00:11:48 +01:00
6b57541b03 Remove BuildConfig from library. 2020-01-10 00:09:07 +01:00
8bf10927c0 Remove BuildConfig from library. 2020-01-10 00:07:08 +01:00
976d40e0ce Remove BuildConfig from library. 2020-01-10 00:01:20 +01:00
940ae46d2d Update CI 2020-01-09 20:19:39 +01:00
a627b22ed1 Update CI 2020-01-09 20:12:25 +01:00
c87f712d90 Update README.md 2020-01-09 20:07:06 +01:00
566163a622 Version 1.0.3 2020-01-09 20:01:59 +01:00
57a18b0013 Version 1.0.3 2020-01-09 19:56:24 +01:00
44f4237da5 Version 1.0.3 2020-01-09 19:50:31 +01:00
21ef331b16 Version 1.0.3 2020-01-09 19:43:41 +01:00
4d12af0249 Version 1.0.3 2020-01-09 19:38:02 +01:00
150c293690 Version 1.0.3 2020-01-09 19:35:33 +01:00
405ab9cbda Version 1.0.3 2020-01-09 19:30:57 +01:00
bf38143b46 Version 1.0.3 2020-01-09 19:22:19 +01:00
1d26a338c5 Version 1.0.3 2020-01-09 19:19:24 +01:00
3 changed files with 24 additions and 10 deletions

View File

@ -54,24 +54,33 @@ jobs:
- restore_cache: - restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run: - 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: - run:
name: Staging name: Staging
command: ./gradlew treedatastructure:publishReleasePublicationToSonatypeRepository command: ./gradlew :treedatastructure:publishReleasePublicationToSonatypeRepository
- run:
name: Release Library
command: ./gradlew closeAndReleaseRepository
workflows: workflows:
version: 2.1 version: 2.1
build-and-deploy: build-and-deploy:
jobs: jobs:
- build - build:
filters: # required since `deploy` has tag filters AND requires `build`
tags:
only: /.*/
- deploy: - deploy:
requires: requires:
- build - build
filters: filters:
tags: tags:
only: only: /^v[0-9]{1,3}\.[0-9]{1,3}\.?[0-9]{0,3}$/
- /.*/
branches: branches:
only: ignore: /.*/
- release
- master

View File

@ -1,5 +1,5 @@
# Tree (Data Structure) # Tree (Data Structure)
[![maven](https://img.shields.io/maven-central/v/com.github.adriankuta/tree-structure?style=plastic)](https://mvnrepository.com/artifact/com.github.adriankuta/tree-structure) [![maven](https://img.shields.io/maven-central/v/com.github.adriankuta/tree-structure?style=plastic)](https://search.maven.org/artifact/com.github.adriankuta/tree-structure)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue?style=plastic)](https://github.com/AdrianKuta/Design-Patterns-Kotlin/blob/master/LICENSE) [![License: MIT](https://img.shields.io/badge/License-MIT-blue?style=plastic)](https://github.com/AdrianKuta/Design-Patterns-Kotlin/blob/master/LICENSE)
[![CircleCI](https://img.shields.io/circleci/build/github/AdrianKuta/Tree-Data-Structure/master?label=CircleCI&style=plastic)](https://circleci.com/gh/AdrianKuta/Tree-Data-Structure) [![CircleCI](https://img.shields.io/circleci/build/github/AdrianKuta/Tree-Data-Structure/master?label=CircleCI&style=plastic)](https://circleci.com/gh/AdrianKuta/Tree-Data-Structure)

View File

@ -1,6 +1,11 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
afterEvaluate {
generateReleaseBuildConfig.enabled = false
}
android { android {
compileSdkVersion 29 compileSdkVersion 29
buildToolsVersion "29.0.2" buildToolsVersion "29.0.2"
@ -10,7 +15,7 @@ android {
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 29 targetSdkVersion 29
versionCode 1 versionCode 1
versionName "1.0.3" versionName "1.0.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro' consumerProguardFiles 'consumer-rules.pro'