Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 2b2b5c4

Browse files
authored
Move to GitHub Actions (#326)
1 parent 1d8c6e0 commit 2b2b5c4

File tree

5 files changed

+24
-43
lines changed

5 files changed

+24
-43
lines changed

Diff for: .github/workflows/test.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: test
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: set up JDK 1.8
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
- name: Build with Gradle
17+
run: |
18+
./gradlew build :easypermissions:test

Diff for: .travis.yml

-29
This file was deleted.

Diff for: README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EasyPermissions [![Build Status][1]][2] [![Code Coverage][3]][4] [![Android Weekly][5]][6]
1+
# EasyPermissions [![Build Status][1]][2] [![Android Weekly][3]][4]
22

33
EasyPermissions is a wrapper library to simplify basic system permissions logic when targeting
44
Android M or higher.
@@ -200,9 +200,7 @@ Rationale callbacks don't necessarily imply permission changes. To check for tho
200200
201201
```
202202

203-
[1]: https://travis-ci.org/googlesamples/easypermissions.svg?branch=master
204-
[2]: https://travis-ci.org/googlesamples/easypermissions
205-
[3]: https://codecov.io/gh/googlesamples/easypermissions/branch/master/graph/badge.svg
206-
[4]: https://codecov.io/gh/googlesamples/easypermissions
207-
[5]: https://img.shields.io/badge/Android%20Weekly-%23185-2CB3E5.svg?style=flat
208-
[6]: http://androidweekly.net/issues/issue-185
203+
[1]: https://github.com/googlesamples/easypermissions/workflows/test/badge.svg
204+
[2]: https://github.com/googlesamples/easypermissions/actions
205+
[3]: https://img.shields.io/badge/Android%20Weekly-%23185-2CB3E5.svg?style=flat
206+
[4]: http://androidweekly.net/issues/issue-185

Diff for: build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.0.0'
9+
classpath 'com.android.tools.build:gradle:4.1.3'
1010
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
11-
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.16.0'
1211
}
1312
}
1413

Diff for: easypermissions/build.gradle

-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: "com.vanniktech.android.junit.jacoco"
32

43
// See: https://github.com/vanniktech/gradle-maven-publish-plugin/issues/206
54
ext {
@@ -38,10 +37,6 @@ android {
3837

3938
}
4039

41-
junitJacoco {
42-
includeNoLocationClasses = true
43-
}
44-
4540
dependencies {
4641
api "androidx.appcompat:appcompat:1.1.0"
4742
api "androidx.annotation:annotation:1.1.0"

0 commit comments

Comments
 (0)