From 06440fab2555cd727aef4f817c5031e78b93a322 Mon Sep 17 00:00:00 2001 From: yonghanJu Date: Thu, 8 Dec 2022 16:28:00 +0900 Subject: [PATCH] =?UTF-8?q?:bookmark:=20runningdata=20=EB=AA=A8=EB=93=88?= =?UTF-8?q?=20=EB=A6=B4=EB=A6=AC=EC=A6=88=20=EC=84=B8=ED=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jitpack.yml | 2 ++ presentation/build.gradle | 2 +- runningdata/build.gradle | 28 ++++++++++++++++++++++++---- 3 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 jitpack.yml diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 00000000..46c85291 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +jdk: + - openjdk11 \ No newline at end of file diff --git a/presentation/build.gradle b/presentation/build.gradle index c11dc74e..6652f524 100644 --- a/presentation/build.gradle +++ b/presentation/build.gradle @@ -97,7 +97,7 @@ dependencies { // Glide implementation "com.github.bumptech.glide:glide:$glideVersion" - annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion" + kapt "com.github.bumptech.glide:compiler:$glideVersion" // composeBom def composeBom = platform("androidx.compose:compose-bom:2022.10.00") diff --git a/runningdata/build.gradle b/runningdata/build.gradle index 6f0595d4..3e40d9b1 100644 --- a/runningdata/build.gradle +++ b/runningdata/build.gradle @@ -1,6 +1,7 @@ plugins { id "com.android.library" id "org.jetbrains.kotlin.android" + id "maven-publish" } android { @@ -22,11 +23,17 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" + } + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } } } @@ -38,4 +45,17 @@ dependencies { testImplementation "junit:junit:$junitVersion" androidTestImplementation "androidx.test.ext:junit:$junitUiVersion" androidTestImplementation "androidx.test.espresso:espresso-core:$espressoCoreVersion" -} \ No newline at end of file +} + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + groupId = "com.github.boostcampwm-2022" + artifactId = "mogarkrun-running" + version = "1.0.0" + } + } + } +}