Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Update for Circle CI builds #33

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
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: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-25-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Run Build
command: export TERM=${TERM:-dumb} && ./gradlew clean build --recompile-scripts --refresh-dependencies --parallel --stacktrace
- store_artifacts:
path: app/build/outputs/apk/
destination: artifact-file
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The Pushjet Android Client [![Circle CI](https://circleci.com/gh/Pushjet/Pushjet-Android.svg?style=svg)](https://circleci.com/gh/Pushjet/Pushjet-Android) [![License](http://img.shields.io/badge/license-BSD-blue.svg?style=flat)](/LICENSE)
The Pushjet Android Client [![CircleCI](https://circleci.com/gh/anilrobo90/Pushjet-Android.svg?style=svg)](https://circleci.com/gh/anilrobo90/Pushjet-Android) [![License](http://img.shields.io/badge/license-BSD-blue.svg?style=flat)](/LICENSE)
==========================
This is the pushjet android client. It currently uses google GCM to send and receive messages. This means
that any message that is directed at the android client *will* go through google. The client is licensed
Expand Down
10 changes: 7 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
compileSdkVersion 25
buildToolsVersion "25.0.0"

defaultConfig {
applicationId "io.Pushjet.api"
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 25
versionCode 6
versionName "1.4"
}
dexOptions {
javaMaxHeapSize "4g"
preDexLibraries = false
}
buildTypes {
release {
minifyEnabled false
Expand Down