Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
steadymoka committed Oct 14, 2019
1 parent abfe114 commit 219b3bc
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
15 changes: 8 additions & 7 deletions dialog/build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 {
Expand All @@ -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"

}
26 changes: 26 additions & 0 deletions github-release.sh
Original file line number Diff line number Diff line change
@@ -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 <<EOF
{
"tag_name": "$tag",
"name": "$name",
"body": "$text",
"draft": false,
"prerelease": false
}
EOF
}

# curl --data "$(generate_post_data)" "https://api.github.com/repos/$repo/releases?access_token=$token"
curl --data "$(generate_post_data)" "https://api.github.com/repos/$repo/releases"

0 comments on commit 219b3bc

Please sign in to comment.