Skip to content

Commit 06440fa

Browse files
committed
🔖 runningdata 모듈 릴리즈 세팅
1 parent 6ad645e commit 06440fa

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk11

presentation/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

runningdata/build.gradle

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id "com.android.library"
33
id "org.jetbrains.kotlin.android"
4+
id "maven-publish"
45
}
56

67
android {
@@ -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+
}

0 commit comments

Comments
 (0)