File tree Expand file tree Collapse file tree
src/main/java/nl/dionsegijn/konfetti/core/emitter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66
77ext {
88 PUBLISH_GROUP_ID = ' nl.dionsegijn'
9- PUBLISH_VERSION = " 2.0.0 "
9+ PUBLISH_VERSION = " 2.0.1 "
1010 PUBLISH_ARTIFACT_ID = ' konfetti-compose'
1111}
1212
@@ -63,7 +63,7 @@ android {
6363}
6464
6565dependencies {
66- api project( path : ' :konfetti: core' )
66+ api ' nl.dionsegijn :konfetti- core:2.0.1 '
6767
6868 implementation " androidx.compose.foundation:foundation:$compose_version "
6969 implementation " androidx.compose.ui:ui:$compose_version "
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ plugins {
44 id ' com.diffplug.spotless'
55}
66
7+ ext {
8+ PUBLISH_GROUP_ID = ' nl.dionsegijn'
9+ PUBLISH_VERSION = " 2.0.1"
10+ PUBLISH_ARTIFACT_ID = ' konfetti-core'
11+ }
12+
13+ apply from : " ${ rootProject.projectDir} /scripts/publish-mavencentral.gradle"
14+
715spotless {
816 kotlin {
917 ktlint(" 0.37.2" )
@@ -48,6 +56,7 @@ android {
4856}
4957
5058dependencies {
59+ api ' nl.dionsegijn:konfetti-core:2.0.1'
5160 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
5261 testImplementation ' junit:junit:4.13.2'
5362 testImplementation ' org.mockito:mockito-core:3.11.2'
Original file line number Diff line number Diff line change 11package nl.dionsegijn.konfetti.core.emitter
22
33import android.graphics.Rect
4- import android.util.Log
54import nl.dionsegijn.konfetti.core.models.Shape
65import nl.dionsegijn.konfetti.core.models.Vector
76import kotlin.math.abs
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ apply plugin: "com.diffplug.spotless"
44
55ext {
66 PUBLISH_GROUP_ID = ' nl.dionsegijn'
7- PUBLISH_VERSION = " 2.0.0 "
7+ PUBLISH_VERSION = " 2.0.1 "
88 PUBLISH_ARTIFACT_ID = ' konfetti-xml'
99}
1010
@@ -52,7 +52,7 @@ android {
5252}
5353
5454dependencies {
55- api project( path : ' :konfetti: core' )
55+ api ' nl.dionsegijn :konfetti- core:2.0.1 '
5656 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
5757 testImplementation ' junit:junit:4.13.2'
5858 testImplementation ' org.mockito:mockito-core:3.11.2'
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ android {
3232}
3333
3434dependencies {
35- implementation project( path : ' :konfetti: core' )
35+ implementation ' nl.dionsegijn :konfetti- core:2.0.1 '
3636
3737 implementation ' androidx.core:core-ktx:1.7.0'
3838 implementation ' androidx.appcompat:appcompat:1.4.0'
You can’t perform that action at this time.
0 commit comments