Commit 128157e9 authored by Ivan Del Pino's avatar Ivan Del Pino Committed by Alexander Salas Bastidas

build(package): pre-release 1.0.0-rc.1

Signed-off-by: 's avatarIvan Del Pino <idelpino@teclib.com>
parent 896f56b7
......@@ -2,14 +2,11 @@
buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
......@@ -17,11 +14,8 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
......
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "org.glpi.glpiproject"
minSdkVersion 16
targetSdkVersion 26
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
......@@ -29,14 +29,16 @@ android {
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile project(':glpi')
compile 'com.orhanobut:logger:2.1.0'
compile 'com.android.support:recyclerview-v7:26.+'
implementation 'com.android.support:appcompat-v7:26.+'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
implementation project(':glpi')
implementation 'com.orhanobut:logger:2.1.0'
implementation 'com.android.support:recyclerview-v7:26.+'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
targetSdkVersion 27
versionCode 1
versionName "1.0"
setProperty("archivesBaseName", "glpi-api-client")
......@@ -46,15 +46,15 @@ android.libraryVariants.all { variant ->
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
androidTestCompile('com.android.support.test.espresso:espresso-core:3.0.1', {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
}
Properties properties = new Properties()
......@@ -63,7 +63,7 @@ if(project.rootProject.file('local.properties').exists()) {
}
ext {
bintrayName = 'android-api-client'
bintrayName = 'java-library-glpi'
bintrayRepo = 'maven-repository'
bintrayUserOrg = "glpi-project"
......@@ -78,9 +78,9 @@ ext {
libraryVersion = properties.getProperty("version")
developerId = 'rafaelje'
developerName = 'Rafael Hernandez'
developerEmail = 'rhernandez@teclib.com'
developerId = 'ivans51'
developerName = 'Ivan Del Pino'
developerEmail = 'idelpino@teclib.com'
licenseName = 'GNU GENERAL PUBLIC LICENSE, Version 3.0'
licenseUrl = 'https://www.gnu.org/licenses/gpl-3.0.html'
......
#Tue Oct 17 09:51:49 BOT 2017
#Fri Dec 07 19:59:08 VET 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
{
"name": "@teclib/android-library-glpi",
"version": "0.1.0",
"version": "1.0.0-rc.1",
"description": "GLPI API Client Library for Java",
"main": "index.js",
"scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment