File tree 7 files changed +36
-18
lines changed
7 files changed +36
-18
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
13
13
- Sending a non-numeric value on an endpoint with type Double now triggers an exception.
14
14
### Changed
15
15
- Data is now validated against their exact types.
16
- - Update Gradle to latest stable 7.2
16
+ - Update Gradle to latest stable 7.6
17
17
- [ android] Update Android Gradle plugin and Android target version
18
18
19
19
## [ 1.0.4] - 2022-12-13
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
3
android {
4
- compileSdkVersion 31
4
+ compileSdkVersion 33
5
5
buildToolsVersion " 30.0.3"
6
6
7
7
defaultConfig {
8
8
minSdkVersion 23
9
- targetSdkVersion 31
9
+ targetSdkVersion 33
10
10
versionCode 1
11
11
versionName project. version
12
12
@@ -70,9 +70,22 @@ dependencies {
70
70
71
71
task javadoc (type : Javadoc ) {
72
72
failOnError false
73
- source = android. sourceSets. main. java. sourceFiles
73
+ group = " Documentation"
74
+ description = " Generate Javadoc"
75
+ source = android. sourceSets. main. java. srcDirs
74
76
classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
75
- classpath + = configurations. compile
77
+ options. memberLevel = JavadocMemberLevel . PROTECTED
78
+ options. addStringOption(' Xmaxwarns' , ' 1' )
79
+ options. addStringOption(' Xmaxerrs' , ' 1' )
80
+ options. links " https://docs.oracle.com/javase/8/docs/api"
81
+ options. linksOffline " https://developer.android.com/reference" ,
82
+ " ${ android.sdkDirectory} /docs/reference"
83
+ android. libraryVariants. all { variant ->
84
+ if (variant. name == ' release' ) {
85
+ owner. classpath + = variant. javaCompileProvider. get(). classpath
86
+ }
87
+ }
88
+ exclude ' **/R.html' , ' **/R.*.html' , ' **/index.html'
76
89
}
77
90
78
91
ext {
Original file line number Diff line number Diff line change @@ -5,16 +5,13 @@ buildscript {
5
5
google()
6
6
mavenCentral()
7
7
}
8
- dependencies {
9
- classpath ' com.android.tools.build:gradle:4.2.0'
10
- // NOTE: Do not place your application dependencies here; they belong
11
- // in the individual module build.gradle files
12
- }
13
8
}
14
9
15
10
plugins {
16
11
id ' com.diffplug.spotless' version ' 5.5.1'
17
12
id(" io.github.gradle-nexus.publish-plugin" ) version " 1.1.0"
13
+ id ' com.android.application' version ' 4.2.2' apply false
14
+ id ' com.android.library' version ' 4.2.2' apply false
18
15
}
19
16
20
17
allprojects {
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 31
4
+ compileSdkVersion 33
5
5
buildToolsVersion " 30.0.3"
6
6
7
7
defaultConfig {
8
8
applicationId " org.astarteplatform.devicesdk.android.examples"
9
9
minSdkVersion 23
10
- targetSdkVersion 31
10
+ targetSdkVersion 33
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
@@ -31,9 +31,9 @@ dependencies {
31
31
implementation fileTree(dir : " libs" , include : [" *.jar" ])
32
32
implementation ' androidx.appcompat:appcompat:1.2.0'
33
33
implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
34
- testImplementation ' junit:junit:4.13'
35
- androidTestImplementation ' androidx.test.ext:junit:1.1.1 '
36
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.3 .0'
34
+ testImplementation ' junit:junit:4.13.2 '
35
+ androidTestImplementation ' androidx.test.ext:junit:1.1.4 '
36
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.5 .0'
37
37
}
38
38
39
39
tasks. withType(Javadoc ). all { enabled = false }
Original file line number Diff line number Diff line change 11
11
android : theme =" @style/AppTheme" >
12
12
<activity
13
13
android : name =" .MainActivity"
14
- android : exported =" false " >
14
+ android : exported =" true " >
15
15
<intent-filter >
16
16
<action android : name =" android.intent.action.MAIN" />
17
17
20
20
</activity >
21
21
</application >
22
22
23
- </manifest >
23
+ </manifest >
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 -all.zip
Original file line number Diff line number Diff line change
1
+ pluginManagement {
2
+ repositories {
3
+ gradlePluginPortal()
4
+ google()
5
+ mavenCentral()
6
+ }
7
+ }
8
+
1
9
include ' :DeviceSDK'
2
10
include ' :DeviceSDKAndroid'
3
11
include ' :DeviceSDKGeneric'
You can’t perform that action at this time.
0 commit comments