File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk11
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ dependencies {
9797
9898 // Glide
9999 implementation " com.github.bumptech.glide:glide:$glideVersion "
100- annotationProcessor " com.github.bumptech.glide:compiler:$glideVersion "
100+ kapt " com.github.bumptech.glide:compiler:$glideVersion "
101101
102102 // composeBom
103103 def composeBom = platform(" androidx.compose:compose-bom:2022.10.00" )
Original file line number Diff line number Diff line change 11plugins {
22 id " com.android.library"
33 id " org.jetbrains.kotlin.android"
4+ id " maven-publish"
45}
56
67android {
@@ -22,11 +23,17 @@ android {
2223 }
2324 }
2425 compileOptions {
25- sourceCompatibility JavaVersion . VERSION_1_8
26- targetCompatibility JavaVersion . VERSION_1_8
26+ sourceCompatibility JavaVersion . VERSION_11
27+ targetCompatibility JavaVersion . VERSION_11
2728 }
2829 kotlinOptions {
29- jvmTarget = " 1.8"
30+ jvmTarget = " 11"
31+ }
32+ publishing {
33+ singleVariant(" release" ) {
34+ withSourcesJar()
35+ withJavadocJar()
36+ }
3037 }
3138}
3239
@@ -38,4 +45,17 @@ dependencies {
3845 testImplementation " junit:junit:$junitVersion "
3946 androidTestImplementation " androidx.test.ext:junit:$junitUiVersion "
4047 androidTestImplementation " androidx.test.espresso:espresso-core:$espressoCoreVersion "
41- }
48+ }
49+
50+ afterEvaluate {
51+ publishing {
52+ publications {
53+ release(MavenPublication ) {
54+ from components. release
55+ groupId = " com.github.boostcampwm-2022"
56+ artifactId = " mogarkrun-running"
57+ version = " 1.0.0"
58+ }
59+ }
60+ }
61+ }
You can’t perform that action at this time.
0 commit comments