Skip to content

Commit 1c92fd5

Browse files
authored
Merge pull request #19 from Kpeved/repo-fix
Update Java to 17, gradle from 7.4.2 to 8.0.2
2 parents 8d1cb9e + 88710f4 commit 1c92fd5

File tree

6 files changed

+18
-7
lines changed

6 files changed

+18
-7
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
google()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.4.2'
8+
classpath 'com.android.tools.build:gradle:8.0.2'
99
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1010
}
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

switchicon-sample/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ dependencies {
88
}
99

1010
android {
11+
namespace 'com.github.zagum.switchicon.sample'
12+
1113
compileSdkVersion rootProject.ext.compileSdkVersion
1214
buildToolsVersion rootProject.ext.buildToolsVersion
1315

@@ -21,11 +23,12 @@ android {
2123
vectorDrawables.useSupportLibrary = true
2224
}
2325
compileOptions {
24-
sourceCompatibility 1.8
25-
targetCompatibility 1.8
26+
sourceCompatibility 17
27+
targetCompatibility 17
2628
}
2729
buildFeatures {
2830
viewBinding true
31+
buildConfig = true
2932
}
3033
}
3134
repositories {

switchicon-sample/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
xmlns:tools="http://schemas.android.com/tools"
3-
package="com.github.zagum.switchicon.sample">
2+
xmlns:tools="http://schemas.android.com/tools">
43

54
<application
65
android:allowBackup="false"

switchicon/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@ dependencies {
77
}
88

99
android {
10+
namespace 'com.github.zagum.switchicon'
11+
1012
compileSdkVersion rootProject.ext.compileSdkVersion
1113
buildToolsVersion rootProject.ext.buildToolsVersion
1214

1315
defaultConfig {
1416
minSdkVersion rootProject.ext.minSdkVersion
1517
}
18+
compileOptions {
19+
sourceCompatibility 17
20+
targetCompatibility 17
21+
}
22+
buildFeatures {
23+
buildConfig = true
24+
}
1625
}
1726
repositories {
1827
mavenCentral()

switchicon/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<manifest package="com.github.zagum.switchicon">
1+
<manifest>
22

33
<application/>
44

0 commit comments

Comments
 (0)