File tree 3 files changed +20
-17
lines changed
3 files changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ android {
30
30
}
31
31
}
32
32
compileOptions {
33
- sourceCompatibility = JavaVersion .VERSION_17
34
- targetCompatibility = JavaVersion .VERSION_17
33
+ sourceCompatibility = JavaVersion .VERSION_11
34
+ targetCompatibility = JavaVersion .VERSION_11
35
35
}
36
36
buildFeatures {
37
37
compose = true
@@ -52,7 +52,7 @@ dependencies {
52
52
implementation(" androidx.core:core-ktx:1.12.0" )
53
53
implementation(" androidx.lifecycle:lifecycle-runtime-ktx:2.7.0" )
54
54
implementation(" androidx.activity:activity-compose:1.8.2" )
55
- implementation(platform(" androidx.compose:compose-bom:2023.10.01 " ))
55
+ implementation(platform(" androidx.compose:compose-bom:2024.01.00 " ))
56
56
implementation(" androidx.compose.ui:ui" )
57
57
implementation(" androidx.compose.ui:ui-graphics" )
58
58
implementation(" androidx.compose.ui:ui-tooling-preview" )
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
plugins {
3
- id(" com.android.application" ) version " 8.2.1 " apply false
3
+ id(" com.android.application" ) version " 8.2.2 " apply false
4
4
id(" org.jetbrains.kotlin.android" ) version " 1.9.22" apply false
5
5
}
Original file line number Diff line number Diff line change @@ -36,25 +36,28 @@ android {
36
36
}
37
37
}
38
38
39
- afterEvaluate {
40
- publishing {
41
- publications {
42
- // Creates a Maven publication called "release".
43
- create<MavenPublication >(" release" ) {
44
- // Applies the component for the release build variant.
45
- from(components[" release" ])
39
+ publishing {
40
+ publications {
41
+ // Creates a Maven publication called "release".
42
+ create<MavenPublication >(" release" ) {
43
+ // You can then customize attributes of the publication as shown below.
44
+ groupId = " com.lumstep"
45
+ artifactId = " flashlighter"
46
+ version = " 1.0.0"
47
+ artifact(" ${layout.projectDirectory} /build/outputs/aar/flashlighter-release.aar" )
48
+ }
49
+ }
46
50
47
- // You can then customize attributes of the publication as shown below.
48
- groupId = " com.lumstep"
49
- artifactId = " flashlighter"
50
- version = " 1.0.0"
51
- }
51
+ repositories {
52
+ maven {
53
+ name = " GithubPackages"
54
+ url = uri(" https://maven.pkg.github.com/lumstep/flashlighter" )
52
55
}
53
56
}
54
57
}
55
58
56
59
dependencies {
57
- implementation(platform(" androidx.compose:compose-bom:2023.10.01 " ))
60
+ implementation(platform(" androidx.compose:compose-bom:2024.01.00 " ))
58
61
implementation(" androidx.compose.ui:ui" )
59
62
implementation(" androidx.compose.ui:ui-graphics" )
60
63
implementation(" androidx.compose.foundation:foundation" )
You can’t perform that action at this time.
0 commit comments