aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle67
1 files changed, 3 insertions, 64 deletions
diff --git a/build.gradle b/build.gradle
index 960f7e6..fcd2d23 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,6 @@ buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
- maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
@@ -15,69 +14,9 @@ buildscript {
}
}
-//plugins {
-// id 'com.gladed.androidgitversion' version '0.3.4' apply false
-//}
-
-//configure(subprojects - project(':sample')) {
-//// apply plugin: 'com.gladed.androidgitversion'
-//// apply from: '../extra.gradle'
-// apply plugin: 'com.android.library'
-// apply plugin: 'kotlin-android'
-// apply plugin: 'com.github.dcendents.android-maven'
-//
-//// if (!it.plugins.hasPlugin('com.gladed.androidgitversion')) apply plugin: 'com.gladed.androidgitversion'
-//// else dependencies {
-//// compile project(':core')
-//// }
-//
-// group = project.APP_GROUP
-//
-// repositories {
-// jcenter()
-// mavenCentral()
-// maven { url "https://jitpack.io" }
-// maven { url "https://maven.google.com" }
-// }
-//
-// android {
-// compileSdkVersion Integer.parseInt(project.TARGET_SDK)
-// buildToolsVersion project.BUILD_TOOLS
-//
-//// androidGitVersion {
-//// codeFormat = 'MMNNPPBB'
-//// prefix 'v'
-//// }
-//
-// defaultConfig {
-// minSdkVersion Integer.parseInt(project.MIN_SDK)
-// targetSdkVersion Integer.parseInt(project.TARGET_SDK)
-//// versionCode androidGitVersion.code()
-//// versionName androidGitVersion.name()
-// consumerProguardFiles 'progress-proguard.txt'
-// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
-// }
-// buildTypes {
-// release {
-// minifyEnabled false
-// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
-// }
-// }
-// lintOptions {
-// abortOnError false
-// checkReleaseBuilds false
-// }
-// resourcePrefix "kau_color"
-// sourceSets {
-// main.java.srcDirs += 'src/main/kotlin'
-// test.java.srcDirs += 'src/test/kotlin'
-// }
-// }
-//}
-
-//task clean(type: Delete) {
-// delete rootProject.buildDir
-//}
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
task generateChangelogMd() {
def parsedProjectXml = (new XmlParser()).parse("$project.rootDir/sample/src/main/res/xml/changelog.xml")