Skip to content

Commit

Permalink
Merge pull request #16 from beigirad/change-group-id
Browse files Browse the repository at this point in the history
Change library GroupId to ir.beigirad
  • Loading branch information
beigirad committed Mar 29, 2021
2 parents fde7f6c + 4470ccb commit a2abd92
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 63 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ZigzagView
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)
[![](https://jitpack.io/v/beigirad/ZigzagView.svg)](https://jitpack.io/#beigirad/ZigzagView)
[![](https://jitpack.io/v/ir.beigirad/ZigzagView.svg)](https://jitpack.io/#ir.beigirad/ZigzagView)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ZigzagView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6787)

a zigzag view for using for ticket or invoice
Expand All @@ -25,7 +25,10 @@ allprojects {

```groovy
dependencies {
implementation 'com.github.beigirad:ZigzagView:VERSION'
// old versions
// implementation 'com.github.beigirad:ZigzagView:VERSION'
implementation 'ir.beigirad:ZigzagView:VERSION'
}
```
Expand Down
22 changes: 6 additions & 16 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Project-wide Gradle settings.
GROUP=ir.beigirad
VERSION_NAME=1.2.1

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Gradle properties: https://docs.gradle.org/current/userguide/build_environment.html
org.gradle.caching=true
org.gradle.configureondemand=true
org.gradle.parallel=true
40 changes: 19 additions & 21 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.beigirad'

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
compileSdkVersion 30

defaultConfig {
minSdkVersion 14
targetSdkVersion 30

def majorVersion = 1
def minorVersion = 2
def patchVersion = 1

versionCode majorVersion * 10000 + minorVersion * 100 + patchVersion
versionName "$majorVersion.$minorVersion.$patchVersion"

}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "androidx.core:core-ktx:1.3.2"
}

afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = GROUP
artifactId = ARTIFACT_ID
version = VERSION_NAME
}
}
}
}
2 changes: 2 additions & 0 deletions library/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ARTIFACT_ID=ZigzagView
NAME=ZigZag View
21 changes: 0 additions & 21 deletions library/proguard-rules.pro

This file was deleted.

3 changes: 0 additions & 3 deletions library/src/main/res/values/strings.xml

This file was deleted.

0 comments on commit a2abd92

Please sign in to comment.