From 219b3bcd290641756df20e169e93ce0d2f969cae Mon Sep 17 00:00:00 2001 From: moka-a Date: Tue, 15 Oct 2019 00:55:28 +0900 Subject: [PATCH] wip --- dialog/build.gradle | 15 ++++++++------- github-release.sh | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 7 deletions(-) create mode 100644 github-release.sh diff --git a/dialog/build.gradle b/dialog/build.gradle index d463c38..852749e 100644 --- a/dialog/build.gradle +++ b/dialog/build.gradle @@ -1,6 +1,10 @@ -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-kapt' +apply plugin: "com.android.library" +apply plugin: "com.github.dcendents.android-maven" + +apply plugin: "kotlin-android" +apply plugin: "kotlin-kapt" + +group = 'com.github.moka-a' android { compileSdkVersion 29 @@ -9,11 +13,9 @@ android { defaultConfig { minSdkVersion 21 targetSdkVersion 29 + versionCode 1 versionName "1.0" - - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles 'consumer-rules.pro' } buildTypes { @@ -36,7 +38,6 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.1.0' implementation "androidx.constraintlayout:constraintlayout:2.0.0-beta2" - implementation "com.android.support.constraint:constraint-layout:2.0.0-beta2" implementation "com.airbnb.android:lottie:3.0.7" } diff --git a/github-release.sh b/github-release.sh new file mode 100644 index 0000000..2dbd34d --- /dev/null +++ b/github-release.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +# https://developer.github.com/v3/repos/releases/#create-a-release + +repo=https://github.com/moka-a/MokaAStd +tag=0.1.0 +name=wip +text=wip +# token=$GH_TOKEN + + +generate_post_data() +{ + cat <