Skip to content

Commit

Permalink
update artifact content
Browse files Browse the repository at this point in the history
  • Loading branch information
Tayfun Oztemel committed Jul 17, 2024
1 parent 83a19dc commit 1fc06a3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
android.useAndroidX=true
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.defaults.buildfeatures.buildconfig=false
android.nonFinalResIds=false
# Repository Settings
SONATYPE_HOST=DEFAULT
Expand All @@ -11,7 +11,7 @@ RELEASE_SIGNING_ENABLED=true
# POM Settings
GROUP=com.crobox.sdk
POM_ARTIFACT_ID=crobox-sdk-android
VERSION_NAME=1.0.6
VERSION_NAME=1.0.7

POM_NAME=Crobox SDK Android
POM_DESCRIPTION=An Android SDK for Crobox integration
Expand Down
18 changes: 9 additions & 9 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ plugins {
id("com.vanniktech.maven.publish")
}

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

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

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

testFixtures {
enable = true
}

publishing {
multipleVariants {
allVariants()
Expand All @@ -36,8 +37,8 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
Expand All @@ -51,7 +52,6 @@ dependencies {
implementation 'io.github.oshai:kotlin-logging-jvm:7.0.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.slf4j:slf4j-simple:2.0.3'

implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.google.code.gson:gson:2.11.0'
Expand Down
3 changes: 3 additions & 0 deletions sdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POM_NAME=Crobox SDK for Android
POM_ARTIFACT_ID=crobox-sdk-android
POM_PACKAGING=aar

0 comments on commit 1fc06a3

Please sign in to comment.