1 Unstar Star 1 Fork 0

larry / kotlinKotlin

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
《Kotlin从零到精通Android开发》附录源码 spread retract

Clone or download
build.gradle 1.12 KB
Copy Edit Web IDE Raw Blame History
ouyangshen authored 2019-02-14 22:02 . Kotlin从零到精通Android开发
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.2.61"
ext.anko_version = "0.9"
//使用0.10.5的Anko库,注意selector方法要带两个参数
//ext.anko_version = "0.10.5"
repositories {
google() // Android Studio 3.0开始需要添加这行
jcenter()
//mavenCentral()
//jcenter{url "http://jcenter.bintray.com/"}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ext {
supportVersion = "28.0.0"
}
allprojects {
repositories {
google() // Android Studio 3.0开始需要添加这行
jcenter()
//mavenCentral()
//jcenter{url "http://jcenter.bintray.com/"}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}

Comment ( 0 )

Sign in for post a comment

Kotlin
1
https://gitee.com/xushivip/kotlin.git
git@gitee.com:xushivip/kotlin.git
xushivip
kotlin
kotlin
master

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542