Skip to content

Commit 296dbf2

Browse files
committed
update SDK to v1.1.4, upgrade Gradle to 8.11.1, and update project configurations
1 parent 41552d5 commit 296dbf2

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ To use the AuviousSDK in your project, follow these steps:
55

66
## Setup Instructions
77

8-
1. Add `https://nexus.auvious.com/repository/maven-releases` as a Nexus repository. If you're using Gradle, add this to your `build.gradle` repositories section:
8+
1. The Auvious Android SDK is built using Java 17 and requires your Android project to be configured to use Java 17 for compilation.
9+
10+
Please ensure your module-level `build.gradle` (or `build.gradle.kts`) file includes the following settings:
11+
```groovy
12+
kotlin {
13+
jvmToolchain(17)
14+
}
15+
```
16+
17+
2. Add `https://nexus.auvious.com/repository/maven-releases` as a Nexus repository. If you're using Gradle, add this to your `build.gradle` repositories section:
918
```groovy
1019
repositories {
1120
mavenCentral()
@@ -15,12 +24,12 @@ To use the AuviousSDK in your project, follow these steps:
1524
}
1625
```
1726

18-
2. Include the Auvious SDK dependency. Add this line to your `build.gradle` dependencies section:
27+
3. Include the Auvious SDK dependency. Add this line to your `build.gradle` dependencies section:
1928
```groovy
2029
dependencies {
2130
//... other dependencies
2231
// Auvious SDK
23-
implementation 'com.auvious.android:sdk:1.1.3'
32+
implementation 'com.auvious.android:sdk:1.1.4'
2433
}
2534
```
2635

app/build.gradle

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33

4+
kotlin {
5+
jvmToolchain(17)
6+
}
7+
48
android {
5-
compileSdk 34
9+
compileSdk 35
610

711
namespace "com.auvious.auviousproject"
812

913
defaultConfig {
1014
applicationId "com.auvious.auviousproject"
1115
minSdkVersion 21
12-
targetSdkVersion 34
16+
targetSdkVersion 35
1317
versionCode 1
1418
versionName "1.0"
1519
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -30,17 +34,12 @@ android {
3034
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
3135
}
3236
}
33-
34-
compileOptions {
35-
sourceCompatibility JavaVersion.VERSION_17
36-
targetCompatibility JavaVersion.VERSION_17
37-
}
3837
}
3938

4039
dependencies {
4140
implementation fileTree(dir: 'libs', include: ['*.jar'])
4241
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
43-
implementation 'com.auvious.android:sdk:1.1.3'
42+
implementation 'com.auvious.android:sdk:1.1.4'
4443

4544
implementation 'androidx.appcompat:appcompat:1.7.0'
4645
implementation 'androidx.core:core-ktx:1.13.1'

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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.9.20'
4+
ext.kotlin_version = '2.1.0'
55

66
repositories {
77
mavenCentral()
@@ -12,7 +12,7 @@ buildscript {
1212
}
1313

1414
dependencies {
15-
classpath 'com.android.tools.build:gradle:8.5.2'
15+
classpath 'com.android.tools.build:gradle:8.10.0'
1616
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1717
}
1818

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-8.7-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip

0 commit comments

Comments
 (0)