Skip to content

Commit

Permalink
move dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune authored Feb 14, 2021
1 parent 2cc96e4 commit fea15ae
Show file tree
Hide file tree
Showing 23 changed files with 26 additions and 7 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# SwipeToAction
# SwipeToAction

## setup

```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

```groovy
dependencies {
implementation 'com.github.ChanTsune:swipe-to-action:${latest_version}'
}
```
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath "com.github.dcendents:android-maven-gradle-plugin:2.1"
}
}

Expand Down
2 changes: 1 addition & 1 deletion demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {

dependencies {

implementation(project(":SwipeToAction"))
implementation(project(":swipe-to-action"))

implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.2'
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include ':SwipeToAction'
include ':swipe-to-action'
include ':demo'
rootProject.name = "SwipeToAction"
File renamed without changes.
7 changes: 5 additions & 2 deletions SwipeToAction/build.gradle → swipe-to-action/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
id 'com.github.dcendents.android-maven'
}

group = "com.github.chantsune"

android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
Expand Down Expand Up @@ -50,8 +53,8 @@ afterEvaluate {
release(MavenPublication) {
from components.release

groupId = 'com.github.chantsune.swipetoaction'
artifactId = 'swipetoaction'
groupId = 'com.github.chantsune'
artifactId = 'swipe-to-action'
version = '0.0.0'
}
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fea15ae

Please sign in to comment.