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" + } + } + } +}