Skip to content

Commit

Permalink
Merge pull request #8556 from vector-im/feature/bma/noJcenter
Browse files Browse the repository at this point in the history
Feature/bma/no jcenter
  • Loading branch information
bmarty authored Jun 27, 2023
2 parents 7b8cf5d + 7940584 commit 2b4b5f0
Show file tree
Hide file tree
Showing 51 changed files with 4,214 additions and 46 deletions.
11 changes: 0 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,24 +112,13 @@ allprojects {
groups.google.group.each { includeGroup it }
}
}
//noinspection JcenterRepositoryObsolete
// Do not use `jcenter`, it prevents Dependabot from working properly
maven {
url 'https://jcenter.bintray.com'
content {
groups.jcenter.regex.each { includeGroupByRegex it }
groups.jcenter.group.each { includeGroup it }
}
}

maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots'
content {
groups.mavenSnapshots.regex.each { includeGroupByRegex it }
groups.mavenSnapshots.group.each { includeGroup it }
}
}

}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
Expand Down
1 change: 1 addition & 0 deletions changelog.d/8556.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Include some source code in our project to remove our dependency to artifact hosted by bintray (Jcenter).
15 changes: 1 addition & 14 deletions dependencies_groups.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ ext.groups = [
'com.linkedin.dexmaker',
'com.mapbox.mapboxsdk',
'com.nulab-inc',
'com.otaliastudios',
'com.otaliastudios.opengl',
'com.parse.bolts',
'com.pinterest',
Expand Down Expand Up @@ -234,18 +235,4 @@ ext.groups = [
'xml-apis',
]
],
jcenter : [
regex: [
],
group: [
'com.amulyakhare',
'com.otaliastudios',
'com.yqritc',
// https://github.com/cmelchior/realmfieldnameshelper/issues/42
'dk.ilios',
'im.dlg',
'me.dm7.barcodescanner',
'me.gujun.android',
]
]
]
32 changes: 32 additions & 0 deletions library/external/autocomplete/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
namespace "com.otaliastudios.autocomplete"

compileSdk versions.compileSdk

defaultConfig {
minSdk versions.minSdk
targetSdk versions.targetSdk
}

compileOptions {
sourceCompatibility versions.sourceCompat
targetCompatibility versions.targetCompat
}

kotlinOptions {
jvmTarget = "11"
}
}

dependencies {
implementation libs.androidx.recyclerview
}

afterEvaluate {
tasks.findAll { it.name.startsWith("lint") }.each {
it.enabled = false
}
}
Loading

0 comments on commit 2b4b5f0

Please sign in to comment.