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
26 changes: 10 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Validate gradle wrapper
uses: gradle/actions/wrapper-validation@v3
uses: gradle/actions/wrapper-validation@v5

- name: Build Debug
run: ./gradlew clean app:assembleDebug
Expand Down Expand Up @@ -71,26 +71,20 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: ./gradlew app:assembleRelease app:bundleRelease

- name: Prepare Sonatype Gradle properties
if: startsWith(github.ref, 'refs/tags/')
run: |
echo "${{ secrets.SONATYPE_GPG_FILE }}" > opensource.gpg.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSPHRASE }}" --batch "opensource.gpg.asc" > "$HOME/.gradle/opensource.gpg"
echo "sonatype.gpg.key=${{ secrets.SONATYPE_GPG_KEY }}" >> ~/.gradle/gradle.properties
echo "sonatype.gpg.password=${{ secrets.SONATYPE_GPG_PASS }}" >> ~/.gradle/gradle.properties
echo "sonatype.gpg.secretKeyRingFile=$HOME/.gradle/opensource.gpg" >> ~/.gradle/gradle.properties

- name: Relase Sonatype
Copy link

Copilot AI Nov 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error: "Relase" should be "Release".

Suggested change
- name: Relase Sonatype
- name: Release Sonatype

Copilot uses AI. Check for mistakes.
if: startsWith(github.ref, 'refs/tags/')
run: |
./gradlew build -x test -x lint
./gradlew publishReleasePublicationToSonatypeRepository -x test -x lint -Plibrarytypefaceonly --no-configure-on-demand --no-parallel
./gradlew publishReleasePublicationToSonatypeRepository -x test -x lint -Plibrarycoreonly --no-configure-on-demand --no-parallel
./gradlew publishReleasePublicationToSonatypeRepository -x test -x lint -Plibraryviewsonly --no-configure-on-demand --no-parallel
./gradlew publishReleasePublicationToSonatypeRepository -x test -x lint -Plibrarycomposeonly --no-configure-on-demand --no-parallel
./gradlew :iconics-core:publishToMavenCentral -x test -x lint --no-configure-on-demand --no-parallel
./gradlew :iconics-typeface-api:publishToMavenCentral -x test -x lint --no-configure-on-demand --no-parallel
./gradlew :iconics-views:publishToMavenCentral -x test -x lint --no-configure-on-demand --no-parallel
./gradlew :iconics-compose:publishToMavenCentral -x test -x lint --no-configure-on-demand --no-parallel
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}

- name: Collect artifacts
run: |
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.mikepenz.aboutlibraries.plugin'
apply plugin: 'com.mikepenz.aboutlibraries.plugin.android'
apply from: "../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"

/*
* Copyright (c) 2020 Mike Penz
Expand Down
31 changes: 22 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildscript {

ext {
release = [
versionName: "5.5.0-b01",
versionName: "5.5.0-rc01",
versionCode: 50500
]

Expand All @@ -31,24 +31,24 @@ buildscript {
]

versions = [
kotlin : '2.2.21',
kotlin : '2.2.21',
androidX : '1.0.0',
recyclerView : '1.3.0',
material : '1.9.0',
appcompat : '1.7.0',
appcompat : '1.7.1',
drawerlayout : '1.1.0',
constraintLayout: '2.0.4',
cardview : '1.0.0',
ktx : [
core: '1.10.1'
core: '1.17.0'
],
startup : '1.1.1',
startup : '1.2.0',
detekt : '1.18.1',
aboutLibraries: '13.1.0',
materialDrawer: '9.0.2',
aboutLibraries : '13.1.0',
materialDrawer : '9.0.2',
fastAdapter : '5.7.0',
// compose
compose : '1.9.3',
compose : '1.9.3',
]
}

Expand All @@ -61,7 +61,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.9.1'
classpath 'com.android.tools.build:gradle:8.13.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.compose:compose-gradle-plugin:${versions.compose}"
Expand All @@ -71,6 +71,10 @@ buildscript {
}
}

plugins {
id "com.vanniktech.maven.publish" version "0.35.0"
}

allprojects {
group "com.mikepenz"

Expand All @@ -79,6 +83,15 @@ allprojects {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}

// Disable Javadoc linting for Java 8+
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
}

subprojects {
Expand Down
12 changes: 5 additions & 7 deletions community-material-typeface-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: "../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"
apply from: "$rootDir/gradle-release.gradle"

android {
compileSdkVersion setup.compileSdk
Expand All @@ -26,8 +27,8 @@ android {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
versionCode 70961
versionName "7.0.96.1-kotlin"
versionCode Integer.parseInt(project.property("VERSION_CODE"))
versionName project.property("VERSION_NAME")

resValue "string", "community_material_version", "${versionName}"
}
Expand All @@ -42,10 +43,7 @@ android {
}
namespace 'com.mikepenz.iconics.typeface.library.community'
}
if (project.hasProperty('pushall') || project.hasProperty('communitymaterialonly')) {
apply from: '../gradle-release.gradle'
}

dependencies {
implementation project(':iconics-typeface-api')
api project(':iconics-typeface-api')
}
4 changes: 3 additions & 1 deletion community-material-typeface-library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@

POM_NAME=Android-Iconics Community Material Icons Typeface Library
POM_ARTIFACT_ID=community-material-typeface
POM_PACKAGING=aar
POM_PACKAGING=aar
VERSION_CODE=70962
VERSION_NAME=7.0.96.2-kotlin
12 changes: 5 additions & 7 deletions devicon-typeface-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: "../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"
apply from: "$rootDir/gradle-release.gradle"

android {
compileSdkVersion setup.compileSdk
Expand All @@ -26,8 +27,8 @@ android {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
versionCode 20008
versionName "2.0.0.8-kotlin"
versionCode Integer.parseInt(project.property("VERSION_CODE"))
versionName project.property("VERSION_NAME")

resValue "string", "devicon_version", "${versionName}"
}
Expand All @@ -43,10 +44,7 @@ android {
}
namespace 'com.mikepenz.iconics.typeface.library.devicon'
}
if (project.hasProperty('pushall') || project.hasProperty('DevIcononly')) {
apply from: '../gradle-release.gradle'
}

dependencies {
implementation project(':iconics-typeface-api')
api project(':iconics-typeface-api')
}
2 changes: 2 additions & 0 deletions devicon-typeface-library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
POM_NAME=Android-Iconics DevIcon Typeface Library
POM_ARTIFACT_ID=devicon-typeface
POM_PACKAGING=aar
VERSION_CODE=20009
VERSION_NAME=2.0.0.9-kotlin
12 changes: 5 additions & 7 deletions entypo-typeface-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: "../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"
apply from: "$rootDir/gradle-release.gradle"

android {
compileSdkVersion setup.compileSdk
Expand All @@ -26,8 +27,8 @@ android {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
versionCode 10008
versionName "1.0.0.8-kotlin"
versionCode Integer.parseInt(project.property("VERSION_CODE"))
versionName project.property("VERSION_NAME")

resValue "string", "entypo_version", "${versionName}"
}
Expand All @@ -43,10 +44,7 @@ android {
}
namespace 'com.mikepenz.iconics.typeface.library.entypo'
}
if (project.hasProperty('pushall') || project.hasProperty('Entypoonly')) {
apply from: '../gradle-release.gradle'
}

dependencies {
implementation project(':iconics-typeface-api')
api project(':iconics-typeface-api')
}
2 changes: 2 additions & 0 deletions entypo-typeface-library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
POM_NAME=Android-Iconics Entypo Typeface Library
POM_ARTIFACT_ID=entypo-typeface
POM_PACKAGING=aar
VERSION_CODE=10009
VERSION_NAME=1.0.0.9-kotlin
12 changes: 5 additions & 7 deletions fontawesome-typeface-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: "../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"
apply from: "$rootDir/gradle-release.gradle"

android {
compileSdkVersion setup.compileSdk
Expand All @@ -26,8 +27,8 @@ android {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
versionCode 51331
versionName "5.13.3.1-kotlin"
versionCode Integer.parseInt(project.property("VERSION_CODE"))
versionName project.property("VERSION_NAME")

resValue "string", "fontawesome_version", "${versionName}"
}
Expand All @@ -43,10 +44,7 @@ android {
}
namespace 'com.mikepenz.iconics.typeface.library.fontawesome'
}
if (project.hasProperty('pushall') || project.hasProperty('fontawesomeonly')) {
apply from: '../gradle-release.gradle'
}

dependencies {
implementation project(':iconics-typeface-api')
api project(':iconics-typeface-api')
}
4 changes: 3 additions & 1 deletion fontawesome-typeface-library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@

POM_NAME=Android-Iconics FontAwesome Typeface Library
POM_ARTIFACT_ID=fontawesome-typeface
POM_PACKAGING=aar
POM_PACKAGING=aar
VERSION_CODE=51332
VERSION_NAME=5.13.3.2-kotlin
12 changes: 5 additions & 7 deletions foundation-icons-typeface-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: "../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"
apply from: "$rootDir/gradle-release.gradle"

android {
compileSdkVersion setup.compileSdk
Expand All @@ -26,8 +27,8 @@ android {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
versionCode 30008
versionName "3.0.0.8-kotlin"
versionCode Integer.parseInt(project.property("VERSION_CODE"))
versionName project.property("VERSION_NAME")

resValue "string", "foundation_version", "${versionName}"
}
Expand All @@ -43,10 +44,7 @@ android {
}
namespace 'com.mikepenz.iconics.typeface.library.foundationicons'
}
if (project.hasProperty('pushall') || project.hasProperty('FoundationIconsonly')) {
apply from: '../gradle-release.gradle'
}

dependencies {
implementation project(':iconics-typeface-api')
api project(':iconics-typeface-api')
}
2 changes: 2 additions & 0 deletions foundation-icons-typeface-library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
POM_NAME=Android-Iconics Foundation Icons Typeface Library
POM_ARTIFACT_ID=foundation-icons-typeface
POM_PACKAGING=aar
VERSION_CODE=30009
VERSION_NAME=3.0.0.9-kotlin
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: "../../gradle/compile.groovy"
apply from: "$rootDir/gradle/compile.groovy"
apply from: "$rootDir/gradle-release.gradle"

android {
compileSdkVersion setup.compileSdk
Expand All @@ -27,8 +28,8 @@ android {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
versionCode 40003
versionName "4.0.0.3-kotlin"
versionCode Integer.parseInt(project.property("VERSION_CODE"))
versionName project.property("VERSION_NAME")

resValue "string", "googlematerial_version", "${versionName}"
}
Expand All @@ -45,10 +46,7 @@ android {
abortOnError false
}
}
if (project.hasProperty('pushall') || project.hasProperty('googlematerialonly')) {
apply from: "$rootDir/gradle-release.gradle"
}

dependencies {
implementation project(':iconics-typeface-api')
api project(':iconics-typeface-api')
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
POM_NAME=Android-Iconics Google Material Typeface Library
POM_ARTIFACT_ID=google-material-typeface
POM_PACKAGING=aar
VERSION_CODE=40004
VERSION_NAME=4.0.0.4-kotlin
Loading
Loading