Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Gradle implementation #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gradle/1.12/taskArtifacts/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Mon Jul 21 14:38:57 CEST 2014
Binary file added .gradle/1.12/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file added .gradle/1.12/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file added .gradle/1.12/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file added .gradle/1.12/taskArtifacts/outputFileStates.bin
Binary file not shown.
Binary file added .gradle/1.12/taskArtifacts/taskArtifacts.bin
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Change Log
==========

Version 2.4.2 *(2014-07-21)*
----------------------------
* Gradle implementation

Version 2.4.1 *(2012-09-11)*
----------------------------

Expand Down
115 changes: 115 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}

allprojects {
repositories {
mavenCentral()
}
}

task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}

apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'signing'

dependencies {
// GRADLE DEPENDENCIES
// SUPPORT
compile project.ANDROID_SUPPORT_V4
}

android {
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion = project.ANDROID_BUILD_TOOLS_VERSION

defaultConfig {
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
}

buildTypes {
debug {
}

release {
}
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}

group = 'fr.baloomba'
version = '2.4.2'

signing {
required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}

uploadArchives {
configuration = configurations.archives
repositories.mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: sonatypeRepo) {
authentication(userName: sonatypeUsername,
password: sonatypePassword)
}

pom.project {
name 'Android-ViewPagerIndicator'
packaging 'aar'
description 'Android library for ViewPagerIndicator'
url 'https://github.com/baloomba/Android-ViewPagerIndicator'

scm {
url 'scm:[email protected]:baloomba/Android-ViewPagerIndicator.git'
connection 'scm:[email protected]:baloomba/Android-ViewPagerIndicator.git'
developerConnection 'scm:[email protected]:baloomba/Android-ViewPagerIndicator.git'
}

licenses {
license {
name 'Apache License Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}

developers {
developer {
id 'baloo'
name 'Clement BOULY'
email '[email protected]'
}
developer {
id 'jakewharton'
name 'Jake Wharton'
email '[email protected]'
url 'http://jakewharton.com'
timezone '-5'
roles {
role 'developer'
}
}
}
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.viewpagerindicator;

public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String PACKAGE_NAME = "com.viewpagerindicator";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 65;
public static final String VERSION_NAME = "";
}
Loading