Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
matrix-android-sdk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Circles
matrix-android-sdk
Commits
e68d7dce
Commit
e68d7dce
authored
3 years ago
by
Benoit Marty
Committed by
Benoit Marty
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update build.gradle
parent
685c56a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.gradle
+30
-8
30 additions, 8 deletions
build.gradle
with
30 additions
and
8 deletions
build.gradle
+
30
−
8
View file @
e68d7dce
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
buildscript
{
buildscript
{
apply
from:
'dependencies.gradle'
apply
from:
'dependencies.gradle'
apply
from:
'dependencies_groups.gradle'
repositories
{
repositories
{
google
()
google
()
jcenter
()
maven
{
maven
{
url
"https://plugins.gradle.org/m2/"
url
"https://plugins.gradle.org/m2/"
}
}
...
@@ -22,18 +22,40 @@ buildscript {
...
@@ -22,18 +22,40 @@ buildscript {
allprojects
{
allprojects
{
repositories
{
repositories
{
// For olm library. This has to be declared first, to ensure that Olm library is not downloaded from another repo
// For olm library.
maven
{
url
'https://gitlab.matrix.org/api/v4/projects/27/packages/maven'
content
{
groups
.
olm
.
regex
.
each
{
includeGroupByRegex
it
}
groups
.
olm
.
group
.
each
{
includeGroup
it
}
}
}
maven
{
maven
{
url
'https://jitpack.io'
url
'https://jitpack.io'
content
{
content
{
// Use this repo only for olm library
groups
.
jitpack
.
regex
.
each
{
includeGroupByRegex
it
}
includeGroupByRegex
"org\\.matrix\\.gitlab\\.matrix-org"
groups
.
jitpack
.
group
.
each
{
includeGroup
it
}
// And monarchy
}
includeGroupByRegex
"com\\.github\\.Zhuinden"
}
google
{
content
{
groups
.
google
.
regex
.
each
{
includeGroupByRegex
it
}
groups
.
google
.
group
.
each
{
includeGroup
it
}
}
}
mavenCentral
{
content
{
groups
.
mavenCentral
.
regex
.
each
{
includeGroupByRegex
it
}
groups
.
mavenCentral
.
group
.
each
{
includeGroup
it
}
}
}
//noinspection JcenterRepositoryObsolete
jcenter
{
content
{
groups
.
jcenter
.
regex
.
each
{
includeGroupByRegex
it
}
groups
.
jcenter
.
group
.
each
{
includeGroup
it
}
}
}
}
}
google
()
jcenter
()
}
}
tasks
.
withType
(
org
.
jetbrains
.
kotlin
.
gradle
.
tasks
.
KotlinCompile
).
all
{
tasks
.
withType
(
org
.
jetbrains
.
kotlin
.
gradle
.
tasks
.
KotlinCompile
).
all
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment