Skip to content

Commit d1c5ef2

Browse files
committed
新增 github issue 模板
1 parent 984c72d commit d1c5ef2

File tree

5 files changed

+87
-19
lines changed

5 files changed

+87
-19
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: https://raw.githubusercontent.com/getActivity/Donate/master/picture/pay_ali.png
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: 提交 Bug
3+
about: 请告诉我不足,让我做得更好!
4+
labels: bug
5+
assignees: getActivity
6+
7+
---
8+
9+
## 问题描述
10+
11+
* 框架版本:XXX
12+
13+
* 问题描述:XXX
14+
15+
* 复现步骤:XXX
16+
17+
* 是否必现:填是/否
18+
19+
* 手机信息:例如某米 9 / Android 10
20+
21+
## 请回答
22+
23+
* 是部分机型还是所有机型都会出现:部分/全部
24+
25+
* 框架最新的版本是否存在这个问题:是/否
26+
27+
* 是否已经查阅框架文档还未能解决的:是/否
28+
29+
* issue 是否有人曾提过类似的问题:是/否
30+
31+
* 是否可以通过 Demo 来复现该问题:是/否
32+
33+
## 其他
34+
35+
* 提供报错堆栈(如果有报错的话必填)
36+
37+
* 提供截图或视频(根据需要提供,不强制)
38+
39+
* 提供解决方案(如果已经解决了的话)

.github/workflows/android.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Android CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
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: ./gradlew build aR

build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
31
buildscript {
42
repositories {
3+
// 阿里云云效仓库:https://maven.aliyun.com/mvn/guide
4+
maven { url 'https://maven.aliyun.com/repository/jcenter' }
5+
maven { url 'https://maven.aliyun.com/repository/google' }
6+
// 华为开源镜像:https://mirrors.huaweicloud.com/
7+
maven { url 'https://repo.huaweicloud.com/repository/maven/' }
8+
// JitPack 远程仓库:https://jitpack.io
59
maven { url 'https://jitpack.io' }
6-
jcenter()
10+
mavenCentral()
711
google()
12+
jcenter()
813
}
914
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.4.0'
15+
classpath 'com.android.tools.build:gradle:4.1.2'
1116
}
1217
}
1318

1419
allprojects {
1520
repositories {
21+
maven { url 'https://maven.aliyun.com/repository/jcenter' }
22+
maven { url 'https://maven.aliyun.com/repository/google' }
23+
maven { url 'https://repo.huaweicloud.com/repository/maven/' }
1624
maven { url 'https://jitpack.io' }
17-
jcenter()
25+
mavenCentral()
1826
google()
19-
}
20-
21-
//解决app:mockableAndroidJar错误的问题
22-
gradle.taskGraph.whenReady {
23-
tasks.each { task ->
24-
if (task.name.equals('mockableAndroidJar')) {
25-
task.enabled = false
26-
}
27-
}
27+
jcenter()
2828
}
2929
}
3030

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
distributionBase=GRADLE_USER_HOME
2-
distributionPath=wrapper/dists
3-
zipStoreBase=GRADLE_USER_HOME
4-
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
1+
zipStoreBase = GRADLE_USER_HOME
2+
zipStorePath = wrapper/dists
3+
distributionBase = GRADLE_USER_HOME
4+
distributionPath = wrapper/dists
5+
distributionUrl = https\://services.gradle.org/distributions/gradle-6.5-all.zip

0 commit comments

Comments
 (0)