Permalink
Browse files

replace gradle files to kts

  • Loading branch information...
kirimin committed Nov 17, 2018
1 parent fdee47c commit e3e7154ee7e54dd381427b96e21f0a0feb10cb6f

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,49 @@
import org.jetbrains.kotlin.config.KotlinCompilerVersion

plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-android-extensions")
id("kotlin-kapt")
}

android {
compileSdkVersion(26)

defaultConfig {
applicationId = "kirimin.me.whoongithub"
minSdkVersion(17)
targetSdkVersion(26)
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
}
dataBinding {
isEnabled = true
}
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation(kotlin("stdlib-jdk7", KotlinCompilerVersion.VERSION))
implementation("com.android.support:appcompat-v7:26.1.0")
implementation("io.reactivex:rxkotlin:0.60.0")
implementation("io.reactivex:rxandroid:1.2.1")
implementation("io.reactivex:rxjava:1.2.9")
implementation("com.squareup.okhttp3:okhttp:3.10.0")
implementation("com.squareup.okhttp3:logging-interceptor:3.7.0")
implementation("com.squareup.picasso:picasso:2.5.2")
implementation("com.squareup.retrofit2:retrofit:2.2.0")
implementation("com.squareup.retrofit2:converter-gson:2.2.0")
implementation("com.squareup.retrofit2:adapter-rxjava:2.2.0")
testImplementation("org.jetbrains.kotlin:kotlin-stdlib:1.3.10")
testImplementation("junit:junit:4.12")
androidTestImplementation("com.android.support.test:runner:1.0.2")
androidTestImplementation("com.android.support.test.espresso:espresso-core:3.0.2")
}
@@ -2,7 +2,7 @@
# By default, the flags in this file are appended to flags specified
# in C:\Program Files (x86)\Android\android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
# directive in build.gradle.kts.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,26 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:3.2.1")
classpath(kotlin("gradle-plugin", version = "1.2.61"))

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

allprojects {
repositories {
google()
jcenter()
}
}

tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
@@ -1,6 +1,6 @@
#Fri Nov 16 15:38:50 JST 2018
#Fri Nov 16 21:28:04 JST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,3 @@
rootProject.buildFileName = "build.gradle.kts"

include(":app")

0 comments on commit e3e7154

Please sign in to comment.