Skip to content

Commit

Permalink
Published to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
Kislay committed Mar 27, 2017
1 parent bb1df3e commit bd911df
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 66 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.mobstac.circularprogressdemo;

import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.support.design.widget.FloatingActionButton;
Expand All @@ -9,7 +8,7 @@
import android.widget.SeekBar;
import android.widget.TextView;

import com.mobstac.circularimageprogressview.CircularImageProgressView;
import com.mobstac.circularimageprogress.CircularImageProgressView;

public class MainActivity extends AppCompatActivity {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@
android:layout_margin="16dp"
android:src="@drawable/ic_action_name" />

<com.mobstac.circularimageprogressview.CircularImageProgressView
<com.mobstac.circularimageprogress.CircularImageProgressView
android:id="@+id/circular_image_progress"
android:layout_width="160dp"
android:layout_height="160dp"
android:layout_centerInParent="true"
app:image="@mipmap/ic_launcher"
app:max="100" />

<!--bleh-->

<SeekBar
android:id="@+id/seek_progress"
android:layout_width="match_parent"
Expand Down
7 changes: 4 additions & 3 deletions CircularImageProgressView/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'

classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -20,4 +21,4 @@ allprojects {

task clean(type: Delete) {
delete rootProject.buildDir
}
}
10 changes: 8 additions & 2 deletions CircularImageProgressView/circularimageprogressview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ android {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"

versionName "0.1.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

lintOptions {
abortOnError false
}

buildTypes {
release {
minifyEnabled false
Expand All @@ -29,3 +33,5 @@ dependencies {
compile 'com.android.support:appcompat-v7:25.3.0'
testCompile 'junit:junit:4.12'
}

apply from: 'https://raw.githubusercontent.com/k1slay/gradle-mvn-push/master/gradle-mvn-push.gradle'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POM_NAME=CircularImageProgressView
POM_ARTIFACT_ID=CircularImageProgressView
POM_PACKAGING=aar

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"

package="com.mobstac.circularimageprogressview">
package="com.mobstac.circularimageprogress">

<application android:allowBackup="true" android:label="@string/app_name"
android:supportsRtl="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mobstac.circularimageprogressview;
package com.mobstac.circularimageprogress;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mobstac.circularimageprogressview;
package com.mobstac.circularimageprogress;

import org.junit.Test;

Expand Down
15 changes: 15 additions & 0 deletions CircularImageProgressView/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@ org.gradle.jvmargs=-Xmx1536m
# 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
VERSION_NAME=0.1.2
VERSION_CODE=1
GROUP=com.mobstac.circularimageprogress
RELEASE_SOURCE=true
POM_DESCRIPTION= A circular progress view for android with an icon at the centre
POM_URL=https://github.com/mobstac/android-circular-imageProgress-view
POM_SCM_URL=https://github.com/mobstac/android-circular-imageProgress-view
POM_SCM_CONNECTION=scm:git@github.com:mobstac/android-circular-imageProgress-view.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:mobstac/android-circular-imageProgress-view.git
POM_GIT_URL=https://github.com/mobstac/android-circular-imageProgress-view.git
POM_LICENCE_NAME=Apache-2.0
POM_LICENCE_URL=https://www.apache.org/licenses/LICENSE-2.0
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=mobstac
POM_DEVELOPER_NAME=Mobstac
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@

![Demo](/media/demo.gif)

## Add to your project

```groovy
compile 'com.mobstac.circularimageprogress:CircularImageProgressView:0.1.2'
```

[ ![Download](https://api.bintray.com/packages/mobstac/maven/CircularImageProgressView/images/download.svg) ](https://bintray.com/mobstac/maven/CircularImageProgressView/_latestVersion)

## Usage

#### 1. Add the view to XML
#### Add the view to XML

```xml
<com.mobstac.circularimageprogressview.CircularImageProgressView
Expand Down

0 comments on commit bd911df

Please sign in to comment.