onyx-intl / OnyxAndroidDemo

148 stars 40 forks source link

Could not resolve com.onyx.android.sdk:onyxsdk-device:1.2.25 #106

Open KursX opened 1 year ago

KursX commented 1 year ago

Can't receive libraries from Boox. For now working only JCenter until [1.1.8] Same problem with the other groups

image

Top level config

buildscript {
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltAndroid"
        classpath "com.google.firebase:firebase-crashlytics-gradle:2.9.9"
        classpath 'com.android.tools.build:gradle:7.4.2'
        classpath "com.google.gms:google-services:4.3.15"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.firebase:perf-plugin:1.4.2'
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter()
        maven { url 'https://android-sdk.is.com/' }
        maven { url 'https://artifact.bytedance.com/repository/pangle' }
        maven { url "https://jitpack.io" }
        maven {
            url "http://repo.boox.com/repository/maven-public/"
            allowInsecureProtocol = true
        }
    }
}

Module config

plugins {
    id 'com.android.library'
    id 'kotlin-android'
}

repositories {
    jcenter()
    maven { url "https://jitpack.io" }
    maven {
        url "http://repo.boox.com/repository/maven-public/"
        allowInsecureProtocol = true
    }
}

android {
    compileSdkVersion 33

    defaultConfig {
        minSdkVersion 23
    }

    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
    namespace 'com.kursx.smartbook.onyx.impl'
}

dependencies {
    implementation project(":onyx-api")

    implementation('com.onyx.android.sdk:onyxsdk-device:1.2.25')
}