Skip to content

Commit

Permalink
set versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tayfun Oztemel committed Jul 17, 2024
1 parent 1fc06a3 commit 0dbd36f
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ plugins {
id("com.vanniktech.maven.publish")
}

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
//kotlin {
// jvmToolchain {
// languageVersion.set(JavaLanguageVersion.of(17))
// }
//}

android {
namespace 'com.crobox.sdk'
compileSdk 34

defaultConfig {
minSdkVersion 34
minSdk 26
targetSdk 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
Expand All @@ -29,24 +30,14 @@ android {
}
}

publishing {
multipleVariants {
allVariants()
withJavadocJar()
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
mavenPublishing {
configure(new AndroidSingleVariantLibrary("release", true, true))
}

dependencies {
implementation 'io.github.oshai:kotlin-logging-jvm:7.0.0'
Expand Down

0 comments on commit 0dbd36f

Please sign in to comment.