Skip to content

Commit 360f533

Browse files
First Kotlin version for snapshots
1 parent f9859c6 commit 360f533

14 files changed

Lines changed: 964 additions & 5 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
apply plugin: 'com.android.library'
2+
apply plugin: 'kotlin-android'
3+
4+
android {
5+
compileSdkVersion 23
6+
buildToolsVersion "23.0.2"
7+
8+
defaultConfig {
9+
minSdkVersion 17
10+
targetSdkVersion 23
11+
versionCode 1
12+
versionName "1.0"
13+
}
14+
buildTypes {
15+
release {
16+
minifyEnabled false
17+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18+
}
19+
}
20+
sourceSets {
21+
main.java.srcDirs += 'src/main/kotlin'
22+
}
23+
}
24+
25+
dependencies {
26+
compile fileTree(dir: 'libs', include: ['*.jar'])
27+
testCompile 'junit:junit:4.12'
28+
compile 'com.android.support:appcompat-v7:23.2.1'
29+
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
30+
compile 'com.creativeelites:kutils:0.4@aar'
31+
}
32+
buildscript {
33+
ext.kotlin_version = '1.0.1-2'
34+
repositories {
35+
mavenCentral()
36+
}
37+
dependencies {
38+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
39+
}
40+
}
41+
repositories {
42+
mavenCentral()
43+
maven { url "https://jitpack.io" }
44+
maven {
45+
url "https://github.com/CreativeElites/MvnRepo/raw/master"
46+
}
47+
maven {
48+
url "https://dl.bintray.com/prashamtrivedi/maven"
49+
}
50+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
POM_NAME=androidexternalfilewriter-kotlin
2+
POM_ARTIFACT_ID=androidexternalfilewriter-kotlin
3+
POM_PACKAGING=aar
4+
VERSION_NAME=0.1
5+
VERSION_CODE=1
6+
GROUP=com.creativeelites
7+
POM_DESCRIPTION=Android External FileWriter
8+
POM_URL=https://github.com/PrashamTrivedi/AndroidExternalFileWriter
9+
POM_SCM_URL=https://github.com/PrashamTrivedi/AndroidExternalFileWriter.git
10+
POM_SCM_CONNECTION=scm:git@github.com:PrashamTrivedi/AndroidExternalFileWriter.git
11+
POM_SCM_DEV_CONNECTION=scm:git@github.com:PrashamTrivedi/AndroidExternalFileWriter.git
12+
POM_LICENCE_NAME=The Apache Software License, Version 2.0
13+
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
14+
POM_LICENCE_DIST=repo
15+
POM_DEVELOPER_ID=PrashamTrivedi
16+
POM_DEVELOPER_NAME=Prasham Trivedi
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in D:\android-sdks/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.celites.androidexternalfilewriter_kotlin;
2+
3+
import android.app.Application;
4+
import android.test.ApplicationTestCase;
5+
6+
/**
7+
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
8+
*/
9+
public class ApplicationTest extends ApplicationTestCase<Application> {
10+
public ApplicationTest() {
11+
super(Application.class);
12+
}
13+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.celites.androidexternalfilewriter_kotlin">
3+
4+
<application
5+
android:allowBackup="true"
6+
android:label="@string/app_name"
7+
android:supportsRtl="true">
8+
9+
</application>
10+
11+
</manifest>

0 commit comments

Comments
 (0)