Skip to content

Commit 4ac5a6e

Browse files
committed
master: bintray config added
1 parent 778a816 commit 4ac5a6e

File tree

15 files changed

+112
-17
lines changed

15 files changed

+112
-17
lines changed
50 Bytes
Binary file not shown.

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ An Android library written in kotlin to display steps (without any max-min limit
1818
* Stroke color (circle), fill color (circle), line color & label text color can be set differently for completed, current & incomplete states.
1919

2020
```XML
21-
<params.com.statusView.StatusViewScroller
21+
<params.com.stepview.StatusViewScroller
2222
android:layout_width="wrap_content"
2323
android:layout_height="wrap_content"
2424
app:stepCount="5"

app/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ apply plugin: 'kotlin-android'
55
apply plugin: 'kotlin-android-extensions'
66

77
android {
8-
compileSdkVersion 27
8+
compileSdkVersion versions.compileSdk
99
defaultConfig {
1010
applicationId "params.com.statusView"
11-
minSdkVersion 15
12-
targetSdkVersion 27
11+
minSdkVersion versions.minSdk
12+
targetSdkVersion versions.targetSdk
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -24,7 +24,8 @@ android {
2424

2525
dependencies {
2626
implementation fileTree(dir: 'libs', include: ['*.jar'])
27-
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
28-
implementation 'com.android.support:appcompat-v7:27.1.1'
27+
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin_version"
28+
implementation "com.android.support:appcompat-v7:$versions.supportLibrary"
2929
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
30+
implementation project(":stepview")
3031
}

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:app="http://schemas.android.com/apk/res-auto"
43
xmlns:tools="http://schemas.android.com/tools"
54
android:layout_width="match_parent"
65
android:layout_height="match_parent"
6+
xmlns:app="http://schemas.android.com/apk/res-auto"
77
tools:ignore="ResAuto">
88

99

1010

11-
12-
<params.com.statusView.StatusViewScroller
11+
<params.com.stepview.StatusViewScroller
1312
android:layout_width="wrap_content"
1413
android:layout_height="wrap_content"
1514
app:layout_constraintTop_toTopOf="parent"

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.2.51'
4+
ext.versions = [
5+
'compileSdk' : 27,
6+
'minSdk' : 15,
7+
'targetSdk' : 27,
8+
'supportLibrary': '27.1.0',
9+
'kotlin_version' : '1.2.31'
10+
]
511
repositories {
612
google()
713
jcenter()
814
}
915
dependencies {
1016
classpath 'com.android.tools.build:gradle:3.1.3'
11-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
17+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin_version"
18+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
19+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
1220

1321
// NOTE: Do not place your application dependencies here; they belong
1422
// in the individual module build.gradle files

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ':app'
1+
include ':app', ':stepview'

stepview/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

stepview/build.gradle

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
apply plugin: 'com.android.library'
2+
apply plugin: 'kotlin-android'
3+
4+
ext {
5+
bintrayRepo = 'maven'
6+
bintrayName = 'StepViewAndroid'
7+
8+
publishedGroupId = 'com.params.stepview'
9+
libraryName = 'stepView'
10+
artifact = 'stepview'
11+
libraryVersion = '1.0.1'
12+
libraryDescription = 'An Android library written in kotlin to display steps (without any max-min limits) along with the status/description.'
13+
14+
siteUrl = 'https://github.com/params-ing/StepViewAndroid'
15+
gitUrl = 'https://github.com/params-ing/StepViewAndroid.git'
16+
17+
developerId = 'params-ing'
18+
developerName = 'Parminder Singh'
19+
developerEmail = 'pisingh02@gmail.com'
20+
21+
licenseName = 'The Apache Software License, Version 2.0'
22+
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
23+
allLicenses = ["Apache-2.0"]
24+
}
25+
26+
27+
android {
28+
compileSdkVersion versions.compileSdk
29+
30+
31+
32+
defaultConfig {
33+
minSdkVersion versions.minSdk
34+
targetSdkVersion versions.targetSdk
35+
versionCode 1
36+
versionName "1.0.0"
37+
}
38+
39+
buildTypes {
40+
release {
41+
minifyEnabled false
42+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
43+
}
44+
}
45+
46+
}
47+
48+
dependencies {
49+
implementation fileTree(dir: 'libs', include: ['*.jar'])
50+
implementation "com.android.support:appcompat-v7:$versions.supportLibrary"
51+
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin_version"
52+
}
53+
54+
tasks.withType(Javadoc) {
55+
enabled = false
56+
}
57+
58+
apply from: 'https://raw.githubusercontent.com/params-ing/JCenter/master/installv1.gradle'
59+
apply from: 'https://raw.githubusercontent.com/params-ing/JCenter/master/bintrayv1.gradle'

0 commit comments

Comments
 (0)