Skip to content

Commit

Permalink
update retrofit module
Browse files Browse the repository at this point in the history
  • Loading branch information
pawlo2102 committed Oct 19, 2019
1 parent 133eeef commit 8d09e63
Show file tree
Hide file tree
Showing 66 changed files with 410 additions and 622 deletions.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<compilerSettings />
<compilerArguments>
<option name="destination" value="$MODULE_DIR$/build/tmp/kotlin-classes/debug" />
<option name="classpath" value="$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a6391fb3fda8d8b77c13376dea629b65/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/663bcb62fec68cc0a7ffb8512d83a5f0/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/abbc719d0c78ebe2572858e88a5855e1/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/bcf1dd4b7668a57ec15c39c21ac610ca/jars/classes.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.50/50ad05ea1c2595fb31b800e76db464d08d599af3/kotlin-stdlib-jdk7-1.3.50.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/488c821c36730dc1dafe5965f70bce06/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/809ec61dacce2ccaa27d5297348a471b/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/042fa6849f38de69556d3ff6e3b648d4/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/00c1bb23f82e92fcd4c945d7522d04ab/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/49f36b234d627f6d08a68664de31d2c4/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/f51a7e1133478fcd4fd76952ec234c21/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/d52e634b3bae4717a42268d8cf637c08/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0b90a67cd7ce6f3607f6068aafc85a54/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/9868ff4c4897c4c833f0fba6e4b1a7e5/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/4f9655bf4ac55e5d7832309eb34cd56e/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/40ede5f14c41d8bd307a38b41c8faff6/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/56551f29584f56c3243827466a015547/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/8aaa794a863c0fe244b631f2d797f7e6/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/161421d92361d2c1f76a1bff7e7cb75e/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/78bc54d24a098ce3ef986f2b6d8bf1b4/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/fd14503b0a5ad57e4f33bff1749c9aa1/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/5d1714e068cbd253ac5d567608763dd1/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/17c0e92ad3d81719be70bda6f96cd94c/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/fe58181853ffb2168faf3adc3748cb99/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0228e30f64a6d602da3612a098138009/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/f02d57a18e57a36f9e96a0c96e48a25b/jars/classes.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/1f27220b47669781457de0d600849a5de0e89909/collection-1.1.0.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/1eca6bfd1d6c1c7df7c1b4a41f86fd55/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/e0d73d81f51c6fd5c2adf8a48b5d8852/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/852307b8e278671c0c1c8f82b7177645/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0f410fb45f57246707622f312bf4f43c/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/a1d9a0f83f9e0edf7883ff32be57cb90/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/223f3b073ae49c9994adc51e7b693da7/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/f9d7bde6e167397aa6e70caf57625a08/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/ff6735e7521fec655b4f45a8330f7a6a/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/9f6d7c38230dd69ae238d4b39dac368d/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0df2b48e726ee5094732a4145a49eeae/jars/classes.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.1.0/b3152fc64428c9354344bd89848ecddc09b6f07e/core-common-2.1.0.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.1.0/c67e7807d9cd6c329b9d0218b2ec4e505dd340b7/lifecycle-common-2.1.0.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.1.0/e3a6fb2f40e3a3842e6b7472628ba4ce416ea4c8/annotation-1.1.0.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.constraintlayout/constraintlayout-solver/1.1.3/54abe9ffb22cc9019b0b6fcc10f185cc4e67b34e/constraintlayout-solver-1.1.3.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.50/b529d1738c7e98bbfa36a4134039528f2ce78ebf/kotlin-stdlib-1.3.50.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.3.50/3d9cd3e1bc7b92e95f43d45be3bfbcf38e36ab87/kotlin-stdlib-common-1.3.50.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar:/home/pawlo/Android/Sdk/platforms/android-28/android.jar" />
<option name="classpath" value="$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a6391fb3fda8d8b77c13376dea629b65/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/663bcb62fec68cc0a7ffb8512d83a5f0/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/abbc719d0c78ebe2572858e88a5855e1/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/bcf1dd4b7668a57ec15c39c21ac610ca/jars/classes.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.50/50ad05ea1c2595fb31b800e76db464d08d599af3/kotlin-stdlib-jdk7-1.3.50.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/488c821c36730dc1dafe5965f70bce06/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/809ec61dacce2ccaa27d5297348a471b/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/042fa6849f38de69556d3ff6e3b648d4/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/00c1bb23f82e92fcd4c945d7522d04ab/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/49f36b234d627f6d08a68664de31d2c4/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/f51a7e1133478fcd4fd76952ec234c21/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/d52e634b3bae4717a42268d8cf637c08/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0b90a67cd7ce6f3607f6068aafc85a54/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/9868ff4c4897c4c833f0fba6e4b1a7e5/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/4f9655bf4ac55e5d7832309eb34cd56e/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/40ede5f14c41d8bd307a38b41c8faff6/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/56551f29584f56c3243827466a015547/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/8aaa794a863c0fe244b631f2d797f7e6/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/161421d92361d2c1f76a1bff7e7cb75e/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/78bc54d24a098ce3ef986f2b6d8bf1b4/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/fd14503b0a5ad57e4f33bff1749c9aa1/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/5d1714e068cbd253ac5d567608763dd1/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/17c0e92ad3d81719be70bda6f96cd94c/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/fe58181853ffb2168faf3adc3748cb99/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0228e30f64a6d602da3612a098138009/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/f02d57a18e57a36f9e96a0c96e48a25b/jars/classes.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/1f27220b47669781457de0d600849a5de0e89909/collection-1.1.0.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/1eca6bfd1d6c1c7df7c1b4a41f86fd55/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/e0d73d81f51c6fd5c2adf8a48b5d8852/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/852307b8e278671c0c1c8f82b7177645/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0f410fb45f57246707622f312bf4f43c/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/a1d9a0f83f9e0edf7883ff32be57cb90/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/223f3b073ae49c9994adc51e7b693da7/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/f9d7bde6e167397aa6e70caf57625a08/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/ff6735e7521fec655b4f45a8330f7a6a/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/9f6d7c38230dd69ae238d4b39dac368d/jars/classes.jar:/home/pawlo/.gradle/caches/transforms-2/files-2.1/0df2b48e726ee5094732a4145a49eeae/jars/classes.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.1.0/b3152fc64428c9354344bd89848ecddc09b6f07e/core-common-2.1.0.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.1.0/c67e7807d9cd6c329b9d0218b2ec4e505dd340b7/lifecycle-common-2.1.0.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.1.0/e3a6fb2f40e3a3842e6b7472628ba4ce416ea4c8/annotation-1.1.0.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/androidx.constraintlayout/constraintlayout-solver/1.1.3/54abe9ffb22cc9019b0b6fcc10f185cc4e67b34e/constraintlayout-solver-1.1.3.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.50/b529d1738c7e98bbfa36a4134039528f2ce78ebf/kotlin-stdlib-1.3.50.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.3.50/3d9cd3e1bc7b92e95f43d45be3bfbcf38e36ab87/kotlin-stdlib-common-1.3.50.jar:/home/pawlo/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar:/home/pawlo/Android/Sdk/platforms/android-29/android.jar" />
<option name="noStdlib" value="true" />
<option name="noReflect" value="true" />
<option name="moduleName" value="app_debug" />
Expand Down Expand Up @@ -110,24 +110,33 @@
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/generated/not_namespaced_r_class_sources" />
<excludeFolder url="file://$MODULE_DIR$/build/generated/source/r" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/annotation_processor_list" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/apk_list" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-libraries" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-manifest" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/checkDebugClasspath" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/compatible_screen_manifest" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_merged_manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint_jar" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javac" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/prebuild" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/processed_res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shader_assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/split_list" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/kotlin" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
<orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-viewmodel:2.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.drawerlayout:drawerlayout:1.0.0@aar" level="project" />
Expand Down Expand Up @@ -186,8 +195,8 @@
<orderEntry type="library" name="Gradle: androidx.coordinatorlayout:coordinatorlayout:1.1.0-alpha01@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-common:2.1.0@jar" level="project" />
<orderEntry type="module" module-name="lilypref" />
<orderEntry type="module" module-name="lilytoast" />
<orderEntry type="module" module-name="lilycore" />
<orderEntry type="module" module-name="retrofit" />
<orderEntry type="module" module-name="lilyadapter" />
</component>
</module>
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdkVersion rootProject.ext.target_sdk_version
compileSdkVersion sdk_compile_version
defaultConfig {
applicationId "com.vrgsoft.example"
minSdkVersion 16
targetSdkVersion rootProject.ext.target_sdk_version
targetSdkVersion sdk_compile_version
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -32,7 +32,7 @@ dependencies {
//compile 'com.github.Gokuldroid.Lily:lilytoast:master-SNAPSHOT'
implementation project(':lilycore')
implementation project(':lilypref')
implementation project(':lilytoast')
implementation project(':retrofit')
implementation project(':lilyadapter')
}
repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.tuple.lily;
package com.vrgsoft.retrofit;

import android.content.Context;
import androidx.test.InstrumentationRegistry;
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="me.tuple.lily.example">
package="com.vrgsoft.retrofit.example">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:name=".App"
android:name="com.vrgsoft.retrofit.example.App"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name=".MainActivity">
<activity android:name="com.vrgsoft.retrofit.example.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package me.tuple.lily.example
package com.vrgsoft.retrofit.example

import android.app.Application
import me.tuple.lily.core.Contexter
import me.tuple.lily.toast.Toasty
import com.vrgsoft.retrofit.core.Contexter

/**
* Created by LazyLoop.
Expand Down
16 changes: 16 additions & 0 deletions app/src/main/java/com/vrgsoft/retrofit/example/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.vrgsoft.retrofit.example

import android.os.Bundle
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import com.vrgsoft.retrofit.core.bind

class MainActivity : AppCompatActivity() {

val button by bind<Button>(R.id.click)

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.tuple.lily;
package com.vrgsoft.retrofit;

import org.junit.Test;

Expand Down
10 changes: 2 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext{
kotlin_version = '1.3.31'
target_sdk_version = 28
complie_sdk_version = 28
version_name = '2.0'
version_code = 2
material_version = '1.1.0-beta01'
}
apply from: "${rootDir}/config/versions.gradle"

repositories {
jcenter()
google()
Expand Down
Loading

0 comments on commit 8d09e63

Please sign in to comment.