diff --git a/build.gradle b/build.gradle index 36fa865..28538ab 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:7.4.2' + classpath 'com.android.tools.build:gradle:8.0.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 070cb70..da1db5f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/switchicon-sample/build.gradle b/switchicon-sample/build.gradle index 55eb971..9cc0cc6 100644 --- a/switchicon-sample/build.gradle +++ b/switchicon-sample/build.gradle @@ -8,6 +8,8 @@ dependencies { } android { + namespace 'com.github.zagum.switchicon.sample' + compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion @@ -21,11 +23,12 @@ android { vectorDrawables.useSupportLibrary = true } compileOptions { - sourceCompatibility 1.8 - targetCompatibility 1.8 + sourceCompatibility 17 + targetCompatibility 17 } buildFeatures { viewBinding true + buildConfig = true } } repositories { diff --git a/switchicon-sample/src/main/AndroidManifest.xml b/switchicon-sample/src/main/AndroidManifest.xml index cd32e1b..7054b53 100644 --- a/switchicon-sample/src/main/AndroidManifest.xml +++ b/switchicon-sample/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ + xmlns:tools="http://schemas.android.com/tools"> +