Skip to content

Commit a2cb164

Browse files
authored
Merge pull request #505 from robotemi/dev_sprint_136
Dev sprint 136
2 parents 5f0dc8d + 2737bb2 commit a2cb164

35 files changed

+1356
-580
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,18 @@ Download
1111

1212
Download the latest AAR from [Maven Central][2] or grab via Gradle:
1313
```groovy
14-
implementation 'com.robotemi:sdk:1.135.1'
14+
implementation 'com.robotemi:sdk:1.136.0'
1515
```
1616

1717
or Maven:
1818
```xml
1919
<dependency>
2020
<groupId>com.robotemi</groupId>
2121
<artifactId>sdk</artifactId>
22-
<version>1.135.1</version>
22+
<version>1.136.0</version>
2323
</dependency>
2424
```
2525

26-
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
27-
2826
Documentation
2927
--------
3028

@@ -54,4 +52,3 @@ License
5452
[3]: https://www.xda-developers.com/install-adb-windows-macos-linux/
5553
[4]: https://github.com/robotemi/sdk/wiki
5654
[5]: https://github.com/robotemi/sdk/wiki/Home_chn
57-
[snap]: https://oss.sonatype.org/content/repositories/snapshots/

build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.6.21'
4+
ext.kotlin_version = '1.9.20'
55

66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.2.2'
12+
classpath 'com.android.tools.build:gradle:8.0.0'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.21.0'
1514
}
1615
}
1716

gradle.properties

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ android.enableJetifier=true
2020
# Kotlin code style for this project: "official" or "obsolete":
2121
kotlin.code.style=official
2222

23+
android.nonTransitiveRClass=false
24+
android.defaults.buildfeatures.buildconfig=true
25+
android.nonFinalResIds=false
26+
2327
GROUP=com.robotemi
24-
VERSION_NAME=1.135.1
28+
VERSION_NAME=1.136.0
2529
POM_URL=https://github.com/robotemi/sdk/
2630
POM_SCM_URL=https://github.com/robotemi/sdk/
2731
POM_SCM_CONNECTION=scm:git:git://github.com/robotemi/sdk.git
@@ -33,3 +37,6 @@ POM_LICENSE_DIST=repo
3337

3438
POM_DEVELOPER_ID=temi
3539
POM_DEVELOPER_NAME=temi USA inc.
40+
41+
mavenCentralPublishing=true
42+
signAllPublications=true

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip

sample/build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
3-
apply plugin: 'kotlin-android-extensions'
43

54
repositories {
65
mavenLocal()
@@ -10,7 +9,7 @@ repositories {
109
}
1110

1211
android {
13-
compileSdkVersion 33
12+
compileSdk 34
1413

1514
defaultConfig {
1615
applicationId "com.robotemi.sdk.sample"
@@ -36,7 +35,16 @@ android {
3635
targetCompatibility JavaVersion.VERSION_1_8
3736
}
3837

39-
lintOptions {
38+
kotlinOptions {
39+
jvmTarget = '1.8'
40+
}
41+
42+
buildFeatures {
43+
buildConfig true
44+
viewBinding true
45+
}
46+
namespace 'com.robotemi.sdk.sample'
47+
lint {
4048
abortOnError false
4149
}
4250
}

sample/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.robotemi.sdk.sample">
3+
xmlns:tools="http://schemas.android.com/tools">
54

65
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
76
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

0 commit comments

Comments
 (0)