Skip to content

Commit

Permalink
release: update version and ci commands
Browse files Browse the repository at this point in the history
To avoid extra publications getting released to maven central
  • Loading branch information
2BAB committed Mar 19, 2022
1 parent 4a2a483 commit 8fb0f23
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
AGP_VERSION: ${{ matrix.agp-version }}
strategy:
matrix:
agp-version: [ 7.0.3, 7.1.0-beta04 ]
agp-version: [ 7.1.2, 7.2.0-beta04 ]

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ buildscript {
mavenCentral() // Since 2.5.4, the publish repository has been shifted from Jcenter to Maven Central.
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'me.2bab:scratchpaper:3.0.0' // Since 2.5.4, the artifactId of ScratchPaper changed from scratch-paper to scratchpaper
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'me.2bab:scratchpaper:3.1.0' // Since 2.5.4, the artifactId of ScratchPaper changed from scratch-paper to scratchpaper
}
}
```
Expand Down Expand Up @@ -101,7 +101,8 @@ ScratchPaper is only supported & tested on LATEST ONE Minor versions of Android

AGP Version|Latest Support Version
-----------|-----------------
7.0.x | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/me.2bab/scratchpaper/badge.svg)](https://search.maven.org/artifact/me.2bab/scratchpaper)
7.1.x | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/me.2bab/scratchpaper/badge.svg)](https://search.maven.org/artifact/me.2bab/scratchpaper)
7.0.x | 3.0.0
4.2.x | 2.6.0
4.1.x | 2.5.4
4.0.x | 2.5.3
Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ buildscript {
mavenCentral() // 从 2.5.4 开始,ScratchPaper 从 Jcenter 迁移到了 Maven Central
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'me.2bab:scratchpaper:3.0.0' // 从 2.5.4 开始,ScratchPaper 的 artifactId 从 scratch-paper 改为 scratchpaper
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'me.2bab:scratchpaper:3.1.0' // 从 2.5.4 开始,ScratchPaper 的 artifactId 从 scratch-paper 改为 scratchpaper
}
}
```
Expand Down Expand Up @@ -99,8 +99,8 @@ scratchPaper {

AGP Version|Latest Support Version
-----------|-----------------
7.0.x | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/me.2bab/scratchpaper/badge.svg)](https://search.maven.org/artifact/me.2bab/scratchpaper)
4.2.x | 2.6.0
7.1.x | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/me.2bab/scratchpaper/badge.svg)](https://search.maven.org/artifact/me.2bab/scratchpaper)
7.0.x | 3.0.0
4.1.x | 2.5.4
4.0.x | 2.5.3
3.6.x | 2.5.1
Expand Down
2 changes: 1 addition & 1 deletion publish_to_local.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
./gradlew clean :scratch-paper:plugin:assemble :scratch-paper:plugin:publishToMavenLocal
./gradlew clean :scratch-paper:plugin:assemble :scratch-paper:plugin:publishSPPluginPublicationToMavenLocal
2 changes: 1 addition & 1 deletion scratch-paper/buildSrc/src/main/kotlin/BuildConfig.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
object BuildConfig {

object Versions {
const val scratchPaperVersion = "3.0.0"
const val scratchPaperVersion = "3.1.0"
}

}
2 changes: 1 addition & 1 deletion test-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdk = 23
targetSdk = 31
versionCode = 1
versionName = "3.0.0"
versionName = "3.1.0"
}

buildTypes {
Expand Down

0 comments on commit 8fb0f23

Please sign in to comment.