Skip to content
Snippets Groups Projects
Commit e364af39 authored by kr328's avatar kr328
Browse files

Refactor: refactor golang flavor

parent 11c4e19e
No related branches found
No related tags found
No related merge requests found
Showing
with 10 additions and 7 deletions
......@@ -20,10 +20,8 @@ gradle-app.setting
*.iml
/.idea/*
!/.idea/codeStyles
/core/src/foss/go/.idea/*
!/core/src/foss/go/.idea/codeStyles
/core/src/premium/go/.idea/*
!/core/src/premium/go/.idea/codeStyles
/core/src/main/golang/.idea/*
!/core/src/main/golang/.idea/codeStyles
# KeyStore
*.keystore
......
[submodule "clash-foss"]
path = core/src/foss/go/clash
path = core/src/main/golang/core/foss
url = https://github.com/Kr328/clash.git
[submodule "clash-premium"]
path = core/src/main/golang/core/premium
url = https://github.com/Kr328/clash.git
......@@ -18,13 +18,15 @@ val geoipOutput = buildDir.resolve("intermediates/golang_blob")
golang {
sourceSets {
create("foss") {
srcDir.set(file("src/foss/go"))
tags.set(listOf("foss"))
}
create("premium") {
srcDir.set(file("src/premium/go"))
tags.set(listOf("premium"))
moduleFile.set("go.premium.mod")
}
all {
fileName.set("libclash.so")
srcDir.set(file("src/main/golang"))
}
}
}
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment