diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..eb4d862
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,15 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "gradle"
+ directory: "/" # Location of package manifests
+ schedule:
+ interval: "daily"
+ - package-ecosystem: "github-actions"
+ directory: "/" # Location of package manifests
+ schedule:
+ interval: "weekly"
\ No newline at end of file
diff --git a/.github/workflows/Android-pull-request.yml b/.github/workflows/Android-pull-request.yml
new file mode 100644
index 0000000..3ba866d
--- /dev/null
+++ b/.github/workflows/Android-pull-request.yml
@@ -0,0 +1,47 @@
+name: CI
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+
+jobs:
+ Build:
+ name: Build on JDK ${{ matrix.java_version }}
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java_version: [ 11 ]
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install JDK ${{ matrix.java_version }}
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'adopt'
+ java-version: ${{ matrix.java_version }}
+ - name: Install Android SDK
+ uses: malinskiy/action-android/install-sdk@release/0.1.2
+ - name: Build project
+ run: ./gradlew assemble
+ Check:
+ name: Check
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install JDK ${{ matrix.java_version }}
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'adopt'
+ java-version: 11
+ - name: Install Android SDK
+ uses: malinskiy/action-android/install-sdk@release/0.1.2
+ - name: Build project
+ run: ./gradlew check
+ - name: Archive Lint report
+ uses: actions/upload-artifact@v2.2.4
+ with:
+ name: Lint-report
+ path: sample/build/reports/lint-results.html
diff --git a/.github/workflows/Android-release.yml b/.github/workflows/Android-release.yml
new file mode 100644
index 0000000..3708df7
--- /dev/null
+++ b/.github/workflows/Android-release.yml
@@ -0,0 +1,35 @@
+name: Release
+
+on:
+ push:
+ tags:
+ - '*'
+
+jobs:
+ build:
+ name: Publish release
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2.3.4
+ with:
+ fetch-depth: 0
+ - name: Install JDK ${{ matrix.java_version }}
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'adopt'
+ java-version: 11
+ - name: Install Android SDK
+ uses: malinskiy/action-android/install-sdk@release/0.1.2
+ - name: Build project
+ run: ./gradlew clean build
+ env:
+ VERSION: ${{ github.ref }}
+ - run: |
+ assetsAAR=$(find . -name *release.aar | while read -r asset ; do echo "-a $asset" ; done)
+ VERSION=$(echo $VERSION | cut -d'/' -f3)
+ tag_name="${GITHUB_REF##*/}"
+ hub release create ${assetsAAR} -m "$tag_name" "$tag_name"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ VERSION: ${{ github.ref }}
diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml
new file mode 100644
index 0000000..f552c8d
--- /dev/null
+++ b/.github/workflows/gradle-wrapper-validation.yml
@@ -0,0 +1,10 @@
+name: "Validate Gradle Wrapper"
+on: [push]
+
+jobs:
+ validation:
+ name: "Validation"
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: gradle/wrapper-validation-action@v1
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index 80930cc..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
deleted file mode 100644
index 7f68460..0000000
--- a/.idea/runConfigurations.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file