Skip to content

Instantly share code, notes, and snippets.

@ppav
ppav / build.gradle
Created August 1, 2019 12:39 — forked from dhei/build.gradle
Use environment variables and local.properties to store Bintray publishing secrets
allprojects {
bintray {
user = bintrayUser
key = bintrayKey
configurations = ['archives']
publish = true
pkg {
repo = bintrayRepo
name = "your-package-name"
package productmeister.com.productmeister.view;
import android.annotation.TargetApi;
import android.os.Build;
import android.support.design.widget.AppBarLayout;
import android.support.v4.view.ViewCompat;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
/*
* Copyright (C) 2017 The Android Open Source Project & Erik Huizinga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software