Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Add packaging build config
Browse files Browse the repository at this point in the history
  • Loading branch information
bvolkmer committed Apr 19, 2017
1 parent 94cb661 commit 015c274
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,4 @@ fabric.properties
/.idea/
/versioner.gradle
/app/data/
/archive/
14 changes: 11 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ version = '8u40'
repositories {
jcenter()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/releases"} //TODO: Remove once tornadofx 1.7.3 is in maven central
maven { url "https://oss.sonatype.org/content/repositories/releases" }
//TODO: Remove once tornadofx 1.7.3 is in maven central
}
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -30,6 +31,13 @@ jfxmobile {
targetSdkVersion = 25
minSdkVersion = 19
manifest = sourceSets.android.java.srcDirs[0].absolutePath + "/AndroidManifest.xml"
signingConfig {
keyAlias = "androidkey"
keyPassword = "keypasswd"
storeFile = new File("/home/x4fyr/Coding/android-keystore/android.jks")
storePassword = "storePasswd"
storeType = "jks"
}
packagingOptions {
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
Expand All @@ -43,8 +51,8 @@ dependencies {
androidCompile project(":libpaiman")
androidCompile 'com.couchbase.lite:couchbase-lite-android:1.4.0'
androidCompile group: "no.tornado", name: "tornadofx-android-compat", version: "1.0"
desktopCompile 'com.couchbase.lite:couchbase-lite-java:1.4.0'
desktopCompile 'com.couchbase.lite:couchbase-lite-java-sqlcipher:1.4.0'
compile 'com.couchbase.lite:couchbase-lite-java:1.4.0'
compile 'com.couchbase.lite:couchbase-lite-java-sqlcipher:1.4.0'
compile project(":libpaiman")
compile project(":fontAwesomeFx")
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ext.gitVersioner = [
defaultBranch : "master", // default "master"
stableBranches : [], // default [], the feature branch postfix (-dm4(6)) will not be appended on stable branches, all commits are included into the version number calculation
yearFactor : 1000, // default "1000", increasing every 8.57h
snapshotEnabled : true, // default true, the "-SNAPSHOT" postfix
snapshotEnabled : false, // default true, the "-SNAPSHOT" postfix
localChangesCountEnabled: false, // default true, the (<commitCount>) before -SNAPSHOT
shortName: { gitVersion -> // optional closure to build a short name
// allows you to add your own short name logic
Expand Down

0 comments on commit 015c274

Please sign in to comment.