Skip to content

Commit

Permalink
Ignore build types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tayfun Oztemel committed Jul 17, 2024
1 parent 0dbd36f commit 0ed49e8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
26 changes: 14 additions & 12 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
android.useAndroidX=true
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=false
android.nonFinalResIds=false
# Repository Settings
SONATYPE_HOST=DEFAULT
#SONATYPE_AUTOMATIC_RELEASE=true
RELEASE_SIGNING_ENABLED=true
# POM Settings
GROUP=com.crobox.sdk
POM_ARTIFACT_ID=crobox-sdk-android
VERSION_NAME=1.0.7
VERSION_NAME=1.0.8

POM_NAME=Crobox SDK Android
POM_DESCRIPTION=An Android SDK for Crobox integration
Expand All @@ -29,3 +18,16 @@ POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/crobox/crobox-sdk-android.gi
POM_DEVELOPER_ID=crobox
POM_DEVELOPER_NAME=Crobox Admin
POM_DEVELOPER_URL=https://github.com/crobox

# Repository Settings
SONATYPE_HOST=DEFAULT
#SONATYPE_AUTOMATIC_RELEASE=true
RELEASE_SIGNING_ENABLED=true

org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8

kotlin.code.style=official
android.useAndroidX=true
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=false
android.nonFinalResIds=false
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
androidgradleplugin = "8.5.0"
androidgradleplugin = "8.5.1"
kotlin = "2.0.0"

[libraries]
Expand Down
22 changes: 11 additions & 11 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ plugins {
id("com.vanniktech.maven.publish")
}

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

android {
namespace 'com.crobox.sdk'
Expand All @@ -23,12 +23,12 @@ android {
consumerProguardFiles "consumer-rules.pro"
}

buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
// buildTypes {
// release {
// minifyEnabled true
// proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
// }
// }

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 0ed49e8

Please sign in to comment.