Skip to content

Commit ab440f5

Browse files
committed
Major release with bug fixes and new features
2 parents 82544e0 + d3f40a4 commit ab440f5

File tree

6 files changed

+39
-3
lines changed

6 files changed

+39
-3
lines changed

.idea/jarRepositories.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-kapt'
44
apply plugin: 'kotlin-parcelize'
5+
apply plugin: 'com.spotify.ruler'
56

67
android {
78
compileSdkVersion 34
@@ -35,6 +36,10 @@ android {
3536
jvmTarget = "17"
3637
}
3738

39+
kotlin {
40+
jvmToolchain(17)
41+
}
42+
3843
composeOptions {
3944
kotlinCompilerExtensionVersion = "1.5.4"
4045
}
@@ -116,4 +121,11 @@ dependencies {
116121
// Optional - Integration with RxJava
117122
implementation("androidx.compose.runtime:runtime-rxjava2")
118123

124+
}
125+
126+
ruler {
127+
abi.set("arm64-v8a")
128+
locale.set("en")
129+
screenDensity.set(480)
130+
sdkVersion.set(27)
119131
}

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ buildscript {
88
dependencies {
99
classpath 'com.android.tools.build:gradle:8.1.4'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11+
classpath "com.spotify.ruler:ruler-gradle-plugin:2.0.0-alpha-13"
1112
// NOTE: Do not place your application dependencies here; they belong
1213
// in the individual module build.gradle files
1314
}
@@ -21,7 +22,6 @@ allprojects {
2122
}
2223

2324

24-
2525
task clean(type: Delete) {
2626
delete rootProject.buildDir
2727
}

gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ kotlin.code.style=official
2222
android.defaults.buildfeatures.buildconfig=true
2323
android.nonTransitiveRClass=false
2424
android.nonFinalResIds=false
25-
org.gradle.java.home=/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home

jitpack.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk17

pdfViewer/build.gradle

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-parcelize'
4+
apply plugin: 'maven-publish'
45

56
android {
67
compileSdkVersion 34
@@ -22,6 +23,10 @@ android {
2223
jvmTarget = "17"
2324
}
2425

26+
kotlin {
27+
jvmToolchain(17)
28+
}
29+
2530
buildFeatures {
2631
viewBinding true
2732
compose true
@@ -72,6 +77,14 @@ dependencies {
7277
debugImplementation("androidx.compose.ui:ui-test-manifest")
7378

7479
implementation("androidx.activity:activity-compose:1.8.1")
80+
}
7581

76-
82+
afterEvaluate {
83+
publishing {
84+
publications {
85+
release(MavenPublication){
86+
from components.release
87+
}
88+
}
89+
}
7790
}

0 commit comments

Comments
 (0)