Replace greendao with 2.2.0-fyg2

This commit is contained in:
José Rebelo 2024-07-04 13:13:48 +01:00
parent 906a807d15
commit 27d5f5c56d
3 changed files with 24 additions and 7 deletions

View File

@ -6,9 +6,7 @@ archivesBaseName = 'gadgetbridge-daogenerator'
//version = '0.9.2-SNAPSHOT' //version = '0.9.2-SNAPSHOT'
dependencies { dependencies {
// implementation 'org.greenrobot:greendao-generator:2.2.0' implementation 'nodomain.freeyourgadget.greendao:greendao-generator:2.2.0-fyg2'
// implementation project(":DaoGenerator")
implementation 'com.github.Freeyourgadget:greendao:1998d7cd2d21f662c6044f6ccf3b3a251bbad341'
} }
sourceSets { sourceSets {

View File

@ -230,8 +230,8 @@ dependencies {
implementation "de.cketti.library.changelog:ckchangelog:1.2.2" implementation "de.cketti.library.changelog:ckchangelog:1.2.2"
implementation "net.e175.klaus:solarpositioning:0.0.9" implementation "net.e175.klaus:solarpositioning:0.0.9"
implementation "co.nstant.in:cbor:0.9" implementation "co.nstant.in:cbor:0.9"
// use pristine greendao instead of our custom version, since our custom jitpack-packaged // use pristine greendao instead of our custom version, since our custom patches
// version contains way too much and our custom patches are in the generator only. // are in the generator only.
implementation "org.greenrobot:greendao:2.2.1" implementation "org.greenrobot:greendao:2.2.1"
implementation "org.apache.commons:commons-lang3:3.7" implementation "org.apache.commons:commons-lang3:3.7"
implementation "org.cyanogenmod:platform.sdk:6.0" implementation "org.cyanogenmod:platform.sdk:6.0"

View File

@ -19,10 +19,29 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
mavenCentral() def fygRegex = 'nodomain\\.freeyourgadget\\..+'
maven {
url 'https://codeberg.org/api/packages/freeyourgadget/maven'
content {
includeGroupByRegex fygRegex
}
}
mavenCentral() {
content {
excludeGroupByRegex fygRegex
}
}
maven { maven {
url 'https://jitpack.io' url 'https://jitpack.io'
content {
excludeGroupByRegex fygRegex
}
}
google() {
content {
excludeGroupByRegex fygRegex
}
} }
google()
} }
} }