Skip to content

Commit

Permalink
- removed maven publish plugin to experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanaslann committed Jul 29, 2023
1 parent dcd3bda commit 68e155e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
29 changes: 25 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
// id 'maven-publish'
}

def versionStr = "1.0"

android {
namespace 'com.oguzhanaslann.cropview'
compileSdk 33
Expand All @@ -13,7 +15,7 @@ android {
minSdk 24
targetSdk 33
versionCode 1
versionName "1.0"
versionName versionStr
}

buildTypes {
Expand All @@ -35,12 +37,31 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.4.6'
kotlinCompilerExtensionVersion '1.5.1'
}

testFixtures {
enable = true
}

// publishing {
// singleVariant('release') {
// withSourcesJar()
// }
//
// publications {
// release(MavenPublication) {
// groupId = 'com.oguzhanaslann.cropview-compose'
// artifactId = 'cropview-compose'
// version = versionStr
//
// afterEvaluate {
// from components.release
// }
// }
// }
//
// }
}

dependencies {
Expand All @@ -49,7 +70,7 @@ dependencies {
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.2'

def composeBom = platform('androidx.compose:compose-bom:2023.04.01')
def composeBom = platform('androidx.compose:compose-bom:2023.06.01')
implementation composeBom
androidTestImplementation composeBom

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
plugins {
id 'com.android.application' version '8.1.0' apply false
id 'com.android.library' version '8.1.0' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
}

0 comments on commit 68e155e

Please sign in to comment.