Skip to content

Commit 261a64d

Browse files
committed
Add basic worflow to build&test; add wrapper validation; update versions
1 parent a1cddca commit 261a64d

File tree

8 files changed

+243
-147
lines changed

8 files changed

+243
-147
lines changed

Diff for: .github/workflows/basic.yml

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

Diff for: app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdkVersion 32
88

99
defaultConfig {
1010
applicationId "com.android.example.lint_usage"
1111
minSdkVersion 21
12-
targetSdkVersion 31
12+
targetSdkVersion 32
1313
versionCode 1
1414
versionName "1.0"
1515
}

Diff for: build.gradle

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
buildscript {
22
ext {
3-
kotlinVersion = '1.6.10'
3+
kotlinVersion = '1.6.21'
44
// Current release: Bumblebee / AGP 7.1
5-
gradlePluginVersion = '7.1.0'
6-
lintVersion = '30.1.0'
5+
gradlePluginVersion = '7.1.3'
6+
lintVersion = '30.1.3'
77
// Upcoming lint target: Chipmunk / AGP 7.2
8-
// gradlePluginVersion = '7.2.0'
9-
// lintVersion = '30.2.0'
8+
// gradlePluginVersion = '7.2.0-rc02'
9+
// lintVersion = '30.2.0-rc02'
10+
// Upcoming lint target: Dolphin / AGP 7.3
11+
// gradlePluginVersion = '7.3.0-alpha09'
12+
// lintVersion = '30.3.0-alpha09'
13+
// Upcoming lint target: Electric Eel / AGP 7.4
14+
// gradlePluginVersion = '7.4.0-alpha01'
15+
// lintVersion = '30.4.0-alpha01'
1016
}
1117

1218
repositories {

Diff for: gradle/wrapper/gradle-wrapper.jar

6.04 KB
Binary file not shown.

Diff for: gradle/wrapper/gradle-wrapper.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri Sep 01 06:52:38 PDT 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip

0 commit comments

Comments
 (0)