go.mod readability improvement

Bug: N/A
Test: Verified by loading the project in IntelliJ
Change-Id: I9fa16fbea108436a52fc3bb4b39d9a2c1a73bee5
This commit is contained in:
Usta Shrestha 2022-11-02 01:00:01 -04:00
parent ed9729727c
commit 914bbebc13

31
go.mod
View file

@ -1,24 +1,21 @@
module android/soong
require google.golang.org/protobuf v0.0.0
require (
google.golang.org/protobuf v0.0.0
github.com/google/blueprint v0.0.0
prebuilts/bazel/common/proto/analysis_v2 v0.0.0
prebuilts/bazel/common/proto/build v0.0.0 // indirect
)
require github.com/google/blueprint v0.0.0
replace google.golang.org/protobuf v0.0.0 => ../../external/golang-protobuf
replace github.com/google/blueprint v0.0.0 => ../blueprint
replace (
google.golang.org/protobuf v0.0.0 => ../../external/golang-protobuf
github.com/google/blueprint v0.0.0 => ../blueprint
github.com/google/go-cmp v0.5.5 => ../../external/go-cmp
prebuilts/bazel/common/proto/analysis_v2 => ../../prebuilts/bazel/common/proto/analysis_v2
prebuilts/bazel/common/proto/build => ../../prebuilts/bazel/common/proto/build
)
// Indirect deps from golang-protobuf
exclude github.com/golang/protobuf v1.5.0
replace github.com/google/go-cmp v0.5.5 => ../../external/go-cmp
require prebuilts/bazel/common/proto/analysis_v2 v0.0.0
replace prebuilts/bazel/common/proto/analysis_v2 => ../../prebuilts/bazel/common/proto/analysis_v2
require prebuilts/bazel/common/proto/build v0.0.0 // indirect
replace prebuilts/bazel/common/proto/build => ../../prebuilts/bazel/common/proto/build
go 1.18
go 2.0