-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Feature/add readme
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '17' | ||
|
||
- name: lint | ||
run: ./gradlew ktlint | ||
|
||
- name: CheckStyle | ||
run: ./gradlew checkJavaStyle |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<p style="text-align:center"> | ||
<a href=""> | ||
<img src="https://keyri.com/wp-content/uploads/2022/09/Keyri-Grey-Logo-Website-300x147.png" width=200 alt=""/> | ||
</a> | ||
</p> | ||
|
||
<p style="text-align:center">Gradle plugin for creating and check checksums with Keyri SDK on Android</p> | ||
|
||
# Overview | ||
|
||
This repository contains the open source code for Keyri Checksum Checker Plugin. | ||
|
||
[![Lint](https://github.com/Keyri-Co/keyri-checksum-checker-plugin/actions/workflows/lint.yml/badge.svg)](https://github.com/Keyri-Co/keyri-checksum-checker-plugin/actions/workflows/lint.yml) | ||
[![GitHub release](https://img.shields.io/github/release/Keyri-Co/keyri-checksum-checker-plugin.svg?maxAge=10)](https://github.com/Keyri-Co/keyri-checksum-checker-plugin/releases) | ||
|
||
## Contents | ||
|
||
* [Integration](#integration) | ||
* [Usage](#usage) | ||
|
||
The latest source code of the Keyri Android SDK can be found | ||
here: [Releases](https://github.com/Keyri-Co/keyri-checksum-checker-plugin/releases) | ||
|
||
### **Integration** | ||
|
||
Using the plugins DSL: | ||
|
||
```kotlin | ||
plugins { | ||
id("com.keyri.checksumchecker.plugin") version "$latestPluginVersion" | ||
} | ||
``` | ||
|
||
Using legacy plugin application: | ||
|
||
```kotlin | ||
buildscript { | ||
repositories { | ||
maven { | ||
url = uri("https://plugins.gradle.org/m2/") | ||
} | ||
} | ||
dependencies { | ||
classpath("com.keyri:plugin:$latestPluginVersion") | ||
} | ||
} | ||
|
||
apply(plugin = "com.keyri.checksumchecker.plugin") | ||
``` | ||
|
||
### **Usage** | ||
|
||
[//]: # (TODO: Add implementation) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
package com.keyri.checksumchecker.plugin | ||
|
||
open class KeyriCheckerExtension { | ||
// TODO: Merge with bundle path | ||
var apkFullPath: String? = null | ||
// TODO: Replace with build version | ||
var apkID: String? = null | ||
internal var appKey: String? = null | ||
|
||
fun setAppKey(appKey: String) { | ||
this.appKey = appKey | ||
} | ||
var appKey: String? = null | ||
internal set | ||
} |