Switch Upstream

This commit is contained in:
djoeni
2022-06-16 14:24:43 +07:00
parent a5942862ff
commit e84d3ce7cc
5 changed files with 75 additions and 34 deletions

View File

@@ -12,14 +12,14 @@ plugins {
}
val geoipDatabaseUrl =
"https://github.com/Dreamacro/maxmind-geoip/releases/latest/download/Country.mmdb"
"https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb"
val geoipInvalidate = Duration.ofDays(7)!!
val geoipOutput = buildDir.resolve("intermediates/golang_blob")
val golangSource = file("src/main/golang/native")
golang {
sourceSets {
create("meta") {
create("meta-alpha") {
tags.set(listOf("foss"))
srcDir.set(file("src/foss/golang"))
}
@@ -110,4 +110,4 @@ afterEvaluate {
it.dependsOn(downloadTask)
}
}
}
}