From 8e6c12275214b90019a7b3baf8f32b6e713b4334 Mon Sep 17 00:00:00 2001 From: Adrian Arencibia Herrera Date: Tue, 22 Jan 2019 09:38:51 -0500 Subject: [PATCH] [ADD] config for release --- .gitignore | 148 +----------------- apklisupdate/build.gradle | 7 + .../apklisupdate/view/ApklisUpdateFragment.kt | 6 +- build.gradle | 1 + 4 files changed, 17 insertions(+), 145 deletions(-) diff --git a/.gitignore b/.gitignore index a8fa2e3..4c44e04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,147 +1,7 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -### Linux template -*~ - -# temporary files which can be created if a process still has a handle open of a deleted file -.fuse_hidden* - -# KDE directory preferences -.directory - -# Linux trash folder which might appear on any partition or disk -.Trash-* - -# .nfs files are created when an open file is removed but is still being accessed -.nfs* -### JetBrains template -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/dictionaries -.idea/**/shelf - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# CMake -cmake-build-debug/ -cmake-build-release/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws - -# IntelliJ -out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests -### Android template -# Built application files -*.apk -*.ap_ - -# Files for the ART/Dalvik VM -*.dex - -# Java class files -*.class - -# Generated files -bin/ -gen/ -out/ - -# Gradle files -.gradle/ +.idea/ build/ - -# Local configuration file (sdk path, etc) local.properties - -# Proguard folder generated by Eclipse -proguard/ - -# Log Files -*.log - -# Android Studio Navigation editor temp files -.navigation/ - -# Android Studio captures folder -captures/ - -# IntelliJ *.iml -.idea/workspace.xml -.idea/tasks.xml -.idea/gradle.xml -.idea/assetWizardSettings.xml -.idea/dictionaries -.idea/libraries -.idea/caches - -# Keystore files -# Uncomment the following line if you do not want to check your keystore files in. -#*.jks - -# External native build folder generated in Android Studio 2.2 and later -.externalNativeBuild - -# Google Services (e.g. APIs or Firebase) -google-services.json - -# Freeline -freeline.py -freeline/ -freeline_project_description.json - -# fastlane -fastlane/report.xml -fastlane/Preview.html -fastlane/screenshots -fastlane/test_output -fastlane/readme.md - +*.log +.gradle/ +.DS_Store \ No newline at end of file diff --git a/apklisupdate/build.gradle b/apklisupdate/build.gradle index fa0ad4a..2fc4db6 100644 --- a/apklisupdate/build.gradle +++ b/apklisupdate/build.gradle @@ -4,6 +4,13 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' + + +apply plugin: 'com.github.dcendents.android-maven' + +group='com.github.adrian011494' + + android { compileSdkVersion 28 diff --git a/apklisupdate/src/main/java/cu/uci/apklisupdate/view/ApklisUpdateFragment.kt b/apklisupdate/src/main/java/cu/uci/apklisupdate/view/ApklisUpdateFragment.kt index f9d50f4..9559ec5 100644 --- a/apklisupdate/src/main/java/cu/uci/apklisupdate/view/ApklisUpdateFragment.kt +++ b/apklisupdate/src/main/java/cu/uci/apklisupdate/view/ApklisUpdateFragment.kt @@ -63,7 +63,11 @@ class ApklisUpdateFragment : Fragment() { companion object { - fun newInstance(updateInfo: AppUpdateInfo, background: Drawable = ColorDrawable(Color.WHITE), actionsColor: Int = Color.BLACK): ApklisUpdateFragment { + fun newInstance( + updateInfo: AppUpdateInfo, + background: Drawable = ColorDrawable(Color.WHITE), + actionsColor: Int = Color.BLACK + ): ApklisUpdateFragment { return ApklisUpdateFragment().apply { this.updateInfo = updateInfo this.background = background diff --git a/build.gradle b/build.gradle index 1415b5d..11302d1 100644 --- a/build.gradle +++ b/build.gradle @@ -16,6 +16,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }