Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/update sdk version #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(Build): upgrade SDK API and gradle
lemoustachiste committed Jul 16, 2024
commit 3034c6b2e98c7fdc1b3f0c313e968a867331ccc5
16 changes: 9 additions & 7 deletions LearningMachine/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 33
buildToolsVersion '30.0.3'
compileSdkVersion 35
namespace "com.learningmachine.android.app"
dexOptions {
javaMaxHeapSize "4g"
}
defaultConfig {
applicationId "com.learningmachine.android.app"
minSdkVersion 19
targetSdkVersion 33
versionName "3.1.11"
targetSdkVersion 35
versionName "3.1.12"
def buildNumber = System.getenv("BUILD_NUMBER")
if (buildNumber != null) {
versionCode buildNumber.toInteger()
versionNameSuffix "-" + buildNumber
} else {
versionCode 58
versionCode 59
}

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
@@ -102,8 +102,10 @@ android {
}
}

dataBinding {
enabled = true
buildFeatures {
dataBinding true
viewBinding true
buildConfig true
}

lintOptions {
3 changes: 1 addition & 2 deletions LearningMachine/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.learningmachine.android.app">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
2 changes: 1 addition & 1 deletion LearningMachine/build.gradle
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.android.tools.build:gradle:8.5.1'
classpath 'com.android.support.constraint:constraint-layout:1.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
2 changes: 1 addition & 1 deletion LearningMachine/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip