Skip to content

Commit 5bd9065

Browse files
authored
Version 3.0.8 (#75)
* Version 3.0.8 * Fix test
1 parent c44a1de commit 5bd9065

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

README.md

+20-7
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ After the fork the first version released was 3.0.0, which was version 2.5.2 fro
2121
- [Types, Methods and Fields wiki page](https://github.com/JesusFreke/smali/wiki/TypesMethodsAndFields)
2222
- [Official dex format reference](https://source.android.com/devices/tech/dalvik/dex-format.html)
2323

24-
### Building
24+
### Building and testing
25+
26+
All building and testing should be done using a version of OpenJDK 11. Newer OpenJDK versions are currently not supported due to issues with some of the tools used in the build process.
27+
28+
#### Building
2529
```
2630
./gradlew assemble
2731
```
28-
### Command Line Version
32+
#### Command Line Version
2933

3034
To run the `smali` and `baksmali` tools from the command line build the fat
3135
jars. The fat jars will be named with the current version followed by the first
@@ -37,22 +41,26 @@ invoked with `java -jar`.
3741
java -jar smali/build/libs/smali-x.y.z-aaaaaaaa-dirty-fat.jar
3842
```
3943

40-
### Testing
44+
#### Testing
4145

4246
To execute all tests run
4347
```
4448
./gradlew test
4549
```
4650

47-
### Testing Maven Release
51+
#### Testing Maven Release
4852
Push a release version to your local maven repository (add
4953
`-Dmaven.repo.local=<dir>` to override the default local maven repository
5054
location)
5155
```
5256
./gradlew release publishToMavenLocal
5357
```
5458

55-
### Prepare and build a release version
59+
### Releasing
60+
61+
Building release versions and releasing to [Google Maven](https://maven.google.com) use Google infrastructure and support scripts maintained as part of the [R8](https://r8.googlesource.com/r8/) repository. The tasks below can only be performed by Google employees.
62+
63+
#### Prepare and build a release version
5664
To prepare a release update `build.gradle` with the next release version and commit that.
5765
Then create a tag for that commit with the version.
5866
```
@@ -67,5 +75,10 @@ in the R8 repository.
6775

6876
The status of the build on the bot is at https://ci.chromium.org/p/r8/builders/ci/smali.
6977

70-
### Releasing versions on Google Maven
71-
TBD.
78+
#### Releasing to Google Maven
79+
80+
When a release version has been built on the bot, it can be released to [Google Maven](https://maven.google.com) by running
81+
```
82+
tools/release_smali.py --version=<version>
83+
```
84+
in the R8 repository. This kick off an internal Google approval process to finalize the release.

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
apply plugin: 'idea'
3232

33-
version = '3.0.7'
33+
version = '3.0.8'
3434
def jcommanderVersion = ''
3535

3636
if (!('release' in gradle.startParameter.taskNames)) {

0 commit comments

Comments
 (0)