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

Commit

Permalink
Merge pull request #10 from zeoflow/android-4.0-override
Browse files Browse the repository at this point in the history
Min SDK 21
  • Loading branch information
teogor authored Oct 7, 2020
2 parents 44d5cb4 + 317e9fb commit aa05c9e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 53 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/build
/captures
/.idea
[Bb]uild

*.iml
stylar/stylar.gpg
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.akarnokd:ixjava:1.0.0'
classpath 'commons-io:commons-io:2.6'
Expand Down Expand Up @@ -43,6 +43,7 @@ ext {
targetSdkVersion = 30
versionCode = 1
versionName = "1.0.0"
ndk = "21.3.6528147"

ANNOTATIONS = 'org.jetbrains:annotations-java5:17.0.0'

Expand Down
20 changes: 1 addition & 19 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,10 @@ configurations.all {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation project(':stylar')

implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.browser:browser:1.2.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'androidx.core:core:1.3.1'
implementation 'androidx.exifinterface:exifinterface:1.3.0'
implementation 'androidx.annotation:annotation-experimental:1.0.0'
implementation 'androidx.fragment:fragment:1.2.5'
implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.recyclerview:recyclerview-selection:1.0.0'
implementation 'androidx.transition:transition:1.4.0-beta01'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'

implementation 'com.atlassian.commonmark:commonmark:0.13.0'

implementation 'com.github.bumptech.glide:glide:4.11.0'

implementation project(':stylar')

}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = 'StylarLib'
include ':stylar'

include ':stylar'
include ':sample'
38 changes: 6 additions & 32 deletions stylar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

}
buildTypes {
release {
Expand All @@ -35,24 +33,8 @@ configurations.all {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.browser:browser:1.2.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'androidx.core:core:1.3.1'
implementation 'androidx.exifinterface:exifinterface:1.3.0'
implementation 'androidx.annotation:annotation-experimental:1.0.0'
implementation 'androidx.fragment:fragment:1.2.5'
implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.recyclerview:recyclerview-selection:1.0.0'
implementation 'androidx.transition:transition:1.4.0-beta01'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'

implementation 'ru.noties:jlatexmath-android:0.2.0'
implementation 'com.zeoflow:zson:1.2.1'
implementation 'com.zeoflow:material-elements:2.1.0'

implementation 'io.coil-kt:coil:0.12.0'
implementation 'io.coil-kt:coil-base:0.12.0'
Expand All @@ -65,25 +47,17 @@ dependencies {
implementation 'com.atlassian.commonmark:commonmark-ext-gfm-strikethrough:0.13.0'
implementation 'com.atlassian.commonmark:commonmark-ext-gfm-tables:0.13.0'

implementation 'junit:junit:4.13'

implementation 'com.github.akarnokd:ixjava:1.0.0'

implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.20'
implementation 'ru.noties:jlatexmath-android:0.2.0'
implementation 'junit:junit:4.13'
implementation 'com.github.akarnokd:ixjava:1.0.0'
implementation 'com.caverock:androidsvg:1.4'

implementation 'com.squareup.okhttp3:okhttp:4.7.2'

implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation 'com.github.akarnokd:ixjava:1.0.0'

implementation 'com.zeoflow:zson:1.0.0'

implementation 'commons-io:commons-io:2.6'

implementation 'org.jetbrains:annotations-java5:17.0.0'

implementation 'com.google.googlejavaformat:google-java-format:1.6'

implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'

}
Expand Down
2 changes: 2 additions & 0 deletions stylar/maven-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def getRepositoryPassword() {
}

afterEvaluate { project ->
project.generateDebugBuildConfig.enabled = false
project.generateReleaseBuildConfig.enabled = false
uploadArchives {
repositories {
mavenDeployer {
Expand Down

0 comments on commit aa05c9e

Please sign in to comment.