Skip to content

Instantly share code, notes, and snippets.

Avatar

Benoit Lubek BoD

View GitHub Profile
View klibqontoTest.swift
//
// ViewController.swift
// klibqonto demo app
//
// Created by Benoit Lubek on 04/11/2019.
// Copyright © 2019 BoD. All rights reserved.
//
import UIKit
import klibqonto
@BoD
BoD / .travis.yml
Created Mar 5, 2017
Travis build file for Android: 'env' block
View .travis.yml
env:
- ANDROID_HOME=$HOME/android-sdk
@BoD
BoD / .travis.yml
Last active Jun 28, 2020
Travis build file for Android: the whole file
View .travis.yml
language: java
dist: trusty
jdk: oraclejdk8
before_cache:
# Do not cache a few Gradle files/directories (see https://docs.travis-ci.com/user/languages/java/#Caching)
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
@BoD
BoD / .travis.yml
Last active Jun 28, 2020
Travis build file for Android: 'cache' block
View .travis.yml
cache:
directories:
# Android SDK
- $HOME/android-cmdline-tools
- $HOME/android-sdk
@BoD
BoD / .travis.yml
Last active Jun 28, 2020
Travis build file for Android: 'install' block
View .travis.yml
install:
# Download and unzip the Android command line tools (if not already there thanks to the cache mechanism)
# Latest version of this file available here: https://developer.android.com/studio/#command-tools
- if test ! -e $HOME/android-cmdline-tools/cmdline-tools.zip ; then curl https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest.zip > $HOME/android-cmdline-tools/cmdline-tools.zip ; fi
- unzip -qq -n $HOME/android-cmdline-tools/cmdline-tools.zip -d $HOME/android-cmdline-tools
# Install or update Android SDK components (will not do anything if already up to date thanks to the cache mechanism)
- echo y | $HOME/android-cmdline-tools/tools/bin/sdkmanager --sdk_root=$HOME/android-sdk 'platform-tools' > /dev/null
# Latest version of build-tools available here: https://developer.android.com/studio/releases/build-tools.html
- echo y | $HOME/android-cmdline-tools/tools/bin/sdkmanager --sdk_root=$HOME/android-sdk 'build-tools;29.0.3' > /dev/null
View gist:6ad7dac75a6217907d76ba41c0b69b44
// Java interface
public interface ConfModel extends BaseModel {
/**
* Primary key.
*/
long getId();
/**
You can’t perform that action at this time.