Cuberto / liquid-swipe-android

MIT License
415 stars 118 forks source link

Update For Gradle Kotlin DSL #22

Open MamboBryan opened 2 years ago

MamboBryan commented 2 years ago

Update for all those using kotlin dsl.

Step 3 : Update build.gradle.kts inside the project module

Step 4 : Update build.gradle.kts inside the app module that is using the library

repositories { maven(url = uri("https://maven.pkg.github.com/Cuberto/liquid-swipe-android")) { name = "GitHubPackages" credentials { username = githubUserId ?: System.getenv("GPR_USER") password = githubApiKey ?: System.getenv("GPR_API_KEY") } } }

- inside dependencies use the following code to consume the library
dependencies {
    implementation "com.cuberto:liquid-swipe:1.0.0"
    ....
}

- Sync project and now you can use liquid-swipe library
elyornasrullayev commented 2 years ago

how to add these to android studion chipmunk

MamboBryan commented 2 years ago

@elyornasrullayev what do you mean by adding it android studio chipmunk?

elyornasrullayev commented 2 years ago

@elyornasrullayev what do you mean by adding it android studio chipmunk?

I can't your dependencies to my project, my android studio is chipmunk.

MamboBryan commented 2 years ago

@elyornasrullayev what do you mean by adding it android studio chipmunk?

I can't your dependencies to my project, my android studio is chipmunk.

What is the specific gradle version you're using for the project you'd like to add this library?

elyornasrullayev commented 2 years ago

last version

MamboBryan commented 2 years ago

Can you be a little bit more specific, this is because how the project files are structured in gradle 1.4.0 is very different from 1.7.0

mohit-0204 commented 1 year ago

@MamboBryan hey bro i am getting error on the import line

import org.jetbrains.kotlin.konan.properties.Properties