Skip to content

Commit 68e155e

Browse files
committed
- removed maven publish plugin to experiment
1 parent dcd3bda commit 68e155e

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

app/build.gradle

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4-
id 'maven-publish'
4+
// id 'maven-publish'
55
}
66

7+
def versionStr = "1.0"
8+
79
android {
810
namespace 'com.oguzhanaslann.cropview'
911
compileSdk 33
@@ -13,7 +15,7 @@ android {
1315
minSdk 24
1416
targetSdk 33
1517
versionCode 1
16-
versionName "1.0"
18+
versionName versionStr
1719
}
1820

1921
buildTypes {
@@ -35,12 +37,31 @@ android {
3537
compose true
3638
}
3739
composeOptions {
38-
kotlinCompilerExtensionVersion '1.4.6'
40+
kotlinCompilerExtensionVersion '1.5.1'
3941
}
4042

4143
testFixtures {
4244
enable = true
4345
}
46+
47+
// publishing {
48+
// singleVariant('release') {
49+
// withSourcesJar()
50+
// }
51+
//
52+
// publications {
53+
// release(MavenPublication) {
54+
// groupId = 'com.oguzhanaslann.cropview-compose'
55+
// artifactId = 'cropview-compose'
56+
// version = versionStr
57+
//
58+
// afterEvaluate {
59+
// from components.release
60+
// }
61+
// }
62+
// }
63+
//
64+
// }
4465
}
4566

4667
dependencies {
@@ -49,7 +70,7 @@ dependencies {
4970
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
5071
implementation 'androidx.activity:activity-compose:1.7.2'
5172

52-
def composeBom = platform('androidx.compose:compose-bom:2023.04.01')
73+
def composeBom = platform('androidx.compose:compose-bom:2023.06.01')
5374
implementation composeBom
5475
androidTestImplementation composeBom
5576

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
plugins {
33
id 'com.android.application' version '8.1.0' apply false
44
id 'com.android.library' version '8.1.0' apply false
5-
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
5+
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
66
}

0 commit comments

Comments
 (0)