Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/publish/publish-mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ afterEvaluate {
groupId publishedGroupId
artifactId artifact
version libraryVersion

if (project.plugins.findPlugin("com.android.library")) {
from components.release
from(components.findByName("release"))
} else {
from components.java
from(components.java)
}

artifact androidSourcesJar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Build with Gradle
run: ./gradlew build
Expand Down
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Build
run: ./gradlew build
Expand Down
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,10 @@

*LibSimprints is the library used to pass data to and from the Simprints ID application.*

**Installation from maven**
**Installation**

Gradle
```
implementation 'com.simprints:libsimprints:2023.4.1'
implementation 'com.simprints:libsimprints:2024.8.1'
```

Maven
```
<dependency>
<groupId>com.simprints</groupId>
<artifactId>libsimprints</artifactId>
<version>2023.4.1</version>
<type>pom</type>
</dependency>
```

**Documentation**
https://sites.google.com/simprints.com/simprints-for-developers/integrating-w-simprints/getting-started
[Documentation](https://simprints.gitbook.io/docs/development/simprints-for-developers/integrating-with-simprints)
51 changes: 34 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,50 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.android.tools.build:gradle:7.4.0"
classpath "io.github.gradle-nexus:publish-plugin:1.3.0"
classpath "com.android.tools.build:gradle:8.5.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
classpath "io.github.gradle-nexus:publish-plugin:2.0.0"
}
}

apply plugin: "com.android.library"
apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "kotlin-parcelize"

repositories {
google()
mavenCentral()
}

project.version = "2024.2.2"
project.version = "2024.8.1"

android {
compileSdkVersion 33
buildToolsVersion "30.0.3"
namespace = "com.simprints.libsimprints"
compileSdk = 35

defaultConfig {
minSdkVersion 19
targetSdkVersion 33
versionCode 1
minSdkVersion 23
targetSdkVersion 35

versionCode 2
versionName project.version

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}

buildFeatures {
buildConfig true
}

buildTypes {
debug {
minifyEnabled false
Expand All @@ -52,16 +72,13 @@ android {
}
}

repositories {
mavenCentral()
google()
}

dependencies {
annotationProcessor "com.google.auto.value:auto-value:1.10.4"
api "androidx.annotation:annotation:1.7.1"
androidTestImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test.ext:junit:1.1.5"
implementation "org.jetbrains.kotlin:kotlin-stdlib:2.0.0"

testImplementation "junit:junit:4.13.2"
testImplementation "androidx.test.ext:junit:1.2.1"
testImplementation "androidx.test:core:1.6.1"
testImplementation "org.robolectric:robolectric:4.13"
}

apply plugin: "io.github.gradle-nexus.publish-plugin"
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
android.useAndroidX=true
android.enableJetifier=true
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Jan 24 14:55:27 CET 2023
#Thu Aug 15 11:50:19 EEST 2024
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
111 changes: 0 additions & 111 deletions src/main/java/com/simprints/libsimprints/Constants.java

This file was deleted.

Loading